Package JOP. February 19, 2015

Similar documents
Package ExceedanceTools

Package Mondrian. R topics documented: March 4, Type Package

Package cgh. R topics documented: February 19, 2015

Package areaplot. October 18, 2017

Package dglm. August 24, 2016

Package CLA. February 6, 2018

Package fso. February 19, 2015

Package esabcv. May 29, 2015

Package MIICD. May 27, 2017

Package ClustGeo. R topics documented: July 14, Type Package

Package sankey. R topics documented: October 22, 2017

Package replicatedpp2w

Package munfold. R topics documented: February 8, Type Package. Title Metric Unfolding. Version Date Author Martin Elff

Package lcc. November 16, 2018

Package datasets.load

Package ConvergenceClubs

Package intccr. September 12, 2017

Package waterfall. R topics documented: February 15, Type Package. Version Date Title Waterfall Charts in R

Package OLScurve. August 29, 2016

Package MixSim. April 29, 2017

Package Rsolnp. R topics documented: January 8, Type Package. Title General Non-linear Optimization. Version

Package orthodr. R topics documented: March 26, Type Package

Package rpst. June 6, 2017

Package sspline. R topics documented: February 20, 2015

Package EnQuireR. R topics documented: February 19, Type Package Title A package dedicated to questionnaires Version 0.

Package svmpath. R topics documented: August 30, Title The SVM Path Algorithm Date Version Author Trevor Hastie

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package dalmatian. January 29, 2018

Package SFtools. June 28, 2017

Package spark. July 21, 2017

Package CINID. February 19, 2015

Package basictrendline

Package radiomics. March 30, 2018

Package Daim. February 15, 2013

Package flam. April 6, 2018

Package mixphm. July 23, 2015

Package restlos. June 18, 2013

Package desplot. R topics documented: April 3, 2018

Package bdots. March 12, 2018

Package beanplot. R topics documented: February 19, Type Package

Package FCGR. October 13, 2015

Package edci. May 16, 2018

Package hbm. February 20, 2015

Package nprotreg. October 14, 2018

Package pcapa. September 16, 2016

Package PCADSC. April 19, 2017

Package weco. May 4, 2018

Package gppm. July 5, 2018

Package nonlinearicp

Package TVsMiss. April 5, 2018

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package swcrtdesign. February 12, 2018

Package nlsrk. R topics documented: June 24, Version 1.1 Date Title Runge-Kutta Solver for Function nls()

Package Rramas. November 25, 2017

Package DTRlearn. April 6, 2018

Package svalues. July 15, 2018

Package GFD. January 4, 2018

Package MFDFA. April 18, 2018

The supclust Package

Package ellipse. January 6, 2018

Package GLDreg. February 28, 2017

Package ArCo. November 5, 2017

Package OptimaRegion

Package ICSOutlier. February 3, 2018

Package splines2. June 14, 2018

Package mlegp. April 15, 2018

Package snn. August 23, 2015

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package RCA. R topics documented: February 29, 2016

Package sciplot. February 15, 2013

Package r2d2. February 20, 2015

Package pampe. R topics documented: November 7, 2015

Package sure. September 19, 2017

Package QCAtools. January 3, 2017

Package texteffect. November 27, 2017

Package modmarg. R topics documented:

Package sesem. March 4, 2014

Package kirby21.base

Package FastKNN. February 19, 2015

Package pwrrasch. R topics documented: September 28, Type Package

Package rknn. June 9, 2015

Package qvcalc. R topics documented: September 19, 2017

Package abf2. March 4, 2015

Package MatchIt. April 18, 2017

Package pomdp. January 3, 2019

Package microbenchmark

Package CausalImpact

Package gains. September 12, 2017

Package lmesplines. R topics documented: February 20, Version

Package crossword.r. January 19, 2018

Package lvm4net. R topics documented: August 29, Title Latent Variable Models for Networks

Package gibbs.met. February 19, 2015

Package nplr. August 1, 2015

Package ECctmc. May 1, 2018

Package glinternet. June 15, 2018

Package multilaterals

Package SoftClustering

Package robets. March 6, Type Package

Package cwm. R topics documented: February 19, 2015

Package emma. February 15, 2013

Transcription:

Package JOP February 19, 2015 Type Package Title Joint Optimization Plot Version 3.6 Date 2013-08-16 Author Sonja Kuhnt and Nikolaus Rudak Maintainer Nikolaus Rudak <rudak@statistik.tu-dortmund.de> Depends Rsolnp, dglm JOP is a tool for simultaneous optimization of multiple responses and visualization of the results. The visualization is done by the joint optimization plot introduced by Kuhnt and Erdbruegge (2004). License GPL (>= 2) LazyData Yes NeedsCompilation no Repository CRAN Date/Publication 2013-08-16 10:17:21 R topics documented: datax............................................. 2 datay............................................. 2 JOP............................................. 3 locate............................................ 5 plot.jop........................................... 7 Index 9 1

2 datay datax Examplary dataset containing parameter settings dataset coming from a sheet metal forming process data(datax) Format Table containing parameter settings, X1 and X2 datay Examplary dataset containing Responses dataset coming from a sheet metal forming process data(datay) Format Table containing responses, Y1 and Y2.

JOP 3 JOP Main function to minimize the risc function of a sequence of cost matrices JOP calculates optimal design parameters associated with a given sequence of cost matrices based on the minimization of a risk function introduced by Pignatiello (1993). Furthermore JOP visualizes the optimal design parameters and the appropriate predicted responses using the joint optimization plot introduced by Kuhnt and Erdbruegge (2004). JOP(datax, datay, tau = "min", Wstart = -5, Wend = 5, numbw = 10, d = NULL, optreg = "sphere", Domain = NULL, form.mean = NULL, form.disp = NULL, family.mean = gaussian(), dlink = "log", mean.model = NULL, var.model = NULL, joplot = FALSE, solver = "solnp") Arguments datax datay tau Wstart Wend numbw d optreg Domain form.mean form.disp family.mean dlink mean.model var.model joplot solver data set with parameter settings from an experimental design (data.frame). Columns have to be named. data set with responses resulting from an experimental design (data.frame). Columns have to be named. list of target values or single character value for the corresponding responses, where also "min" for minimization or "max" for maximization is possible. If tau="min" or tau="max", then all responses are minimized or maximized. value to calculate the sequence of weight matrices (see Details) value to calculate the sequence of weight matrices (see Details) value to calculate the sequence of weight matrices (see Details) a vector with values to calculate the sequence of weight matrices (see Details) User can choose the Optimization region. optreg="box": box constraints optreg="sphere": sphere box constraints. Column 1 for lower contraints and Column 2 for upper contraints. Row i corresponds to Parameter i. list of formulas for mean of each response list of formulas for dispersion of each response family for the mean list of names of link functions for the dispersion models list of functions that model the mean for the corresponding response list of functions that model the variance for the corresponding response logical, if TRUE then the joint optimization plot is displayed. Default is "solnp" for three different starting points. Alternatively, "gosolnp" is especially recommended for complex programs.

4 JOP Details The main function JOP is a package for multiresponse optimization which aims to minimize a risc function for a prespecified sequence of cost matrices. This sequence of cost matrices is specified by the arguments Wstart, Wend, numbw and d. The user can plug in target values for the responses or set to the target value to "min" or "max" in order to minimize or maximize the corresponding response. JOP needs models for the mean and dispersion of each response which can be plugged in by means three different possibilities. First, the user can pass the models for mean and dispersion as lists of functions in the parameter vector through the arguments var.model and mean.model. Secondly, the user can plug in a list of formulas for each response for the mean and dispersion via the arguments form.mean and form.disp. Furthermore, a suitable link and distribution assumption can be specified both for the mean and dispersion Finally, if the user does not plug in neither formulas nor models then JOP calculates automatically double generalized linear models by means of the function dglm from package dglm. Furthermore, JOP performs a backward selection, starting from the full model with main effects, interactions and quadratic terms, and afterwards dropping the least significant covariate in each step. The data sets datax and datay are needed for model building. Both datax and datay have to be data frames where datax contains an experimental design with settings for each parameter columnwise and datay contains the experimental results columnwise for every response. Additionally, the columns of the data sets should be named, as exemplary demonstrated by data(datax) and data(datay). The optimization is performed by the procedure solnp out of the package Rsolnp. JOP returns an object of class "JOP" which can be visualized by means of plot.jop. Details on the JOP method can be found in Erdbruegge et al. (2011). Value JOP returns a list containing the following elements: Parameters The i-th row of this matrix contains the optimal Parameter setting appropriate to the i-th weight matrix Responses The i-th row of this matrix contains the predicted Responses appropriate to the i-th weight matrix StandardDeviation The i-th row of this matrix contains the standard deviation value for each response OptimalValue This vector contains the optimal value of the risk function for each optimal parameter setting TargetValueJOP Contains the target values for the correspoding responses used internally by JOP TargetValueUSER Contains the target values for the correspoding responses specified by the user DGLM If no models assigned then the list DGLM contains the calculated models for the mean and dispersion for every response

locate 5 RiskminimalParameters Parameters that minimize the squared sum of single risks among all calculated Parameters RiskminimalResponses Responses for the risk minimal parameters ValW d numbw Values for Wstart and Wend Slope vector Number of weight matrices Martina Erdbruegge, Sonja Kuhnt and Nikolaus Rudak (2011). Joint optimization of independent multiple responses based on loss functions, Quality and Reliability Engineering International 27, doi: 10.1002/qre.1229. Joseph J. Pignatiello (1993). Strategies for robust multiresponse quality engineering, IIE Transactions 25, 5-15, Texas A M University. Alexios Ghalanos and Stefan Theussl (2012). Rsolnp: General Non-linear Optimization Using Augmented Lagrange Multiplier Method. R package version 1.12. Peter K Dunn and Gordon K Smyth (2012). dglm: Double generalized linear models, R package version 1.6.2. Sonja Kuhnt, Nikolaus Rudak (2013). Simultaneous Optimization of Multiple Responses with the R Package JOP, Journal of Statistical Software, 54(9), 1-23, URL http://www.jstatsoft.org/v54/i09/. Examples # Example: Sheet metal hydroforming process # Run JOP without Model specification outtest <- JOP(datax = datax, datay = datay, tau = list(0, 0.05), numbw = 5, joplot = TRUE) locate Selection of a compromise The function locate allows the user to choose a point as a good compromise on the right plot and locate returns the corresponding design parameters. locate(x, ncom = 1,xlu = NULL,no.col = FALSE,standard = TRUE,col = 1,lty = 1, bty = "l",las = 1,adj = 0.5,cex = 1,cex.lab = 1,cex.axis = 1, xlab = c("stretch Vector", "Stretch Vector"), ylab = c("parameter Setting", "Predicted Response"),lwd=1,...)

6 locate Arguments x object from JOP ncom number of compromises that the user seeks to select, default is 1 xlu no.col standard col lty xlab The vector of x-coordinate that indicates where the user assumes a good compromise, see Details If TRUE the plot will be gray scaled. Otherwise the plot will be coloured. If TRUE the standard deviations will be displayed on the right hand plot. ylab bty,las,cex,adj,cex.lab,cex.axis,lwd Graphical arguments... Further graphical arguments passed to plot. Details The function locate asks the user to choose a compromise on the right hand plot and it displays the nearest calculated points by means of vertical lines. Furthermore it returns the chosen responses together with the corresponding parameters. Let nx be the number of parameters (number of columns of datax) and ny be the number of responses (number of columns of datay). Then col and lty must have length nx+ny. Otherwise predefined grey colors (for no.col=true) or standard colors 1, 2,..., nx+ny are used. The arguments xlab and ylab must have length two, where the first entry contains the label for x-axis and y-axis of the left hand plot and the second entry contains the label for x-axis and y-axis of the right hand plot. Additional graphical arguments can be plugged in. Value locate returns a list containing the following elements: ChosenResponses selected responses by user ChosenParameters corresponding selected parameters Author(s) Sonja Kuhnt and Nikolaus Rudak

plot.jop 7 Martina Erdbruegge, Sonja Kuhnt and Nikolaus Rudak (2011). Joint optimization of independent multiple responses based on loss functions, Quality and Reliability Engineering International 27, doi: 10.1002/qre.1229. Joseph J. Pignatiello (1993). Strategies for robust multiresponse quality engineering, IIE Transactions 25, 5-15, Texas A M University. Alexios Ghalanos and Stefan Theussl (2012). Rsolnp: General Non-linear Optimization Using Augmented Lagrange Multiplier Method. R package version 1.12. Peter K Dunn and Gordon K Smyth (2012). dglm: Double generalized linear models, R package version 1.6.2. Sonja Kuhnt, Nikolaus Rudak (2013). Simultaneous Optimization of Multiple Responses with the R Package JOP, Journal of Statistical Software, 54(9), 1-23, URL http://www.jstatsoft.org/v54/i09/. Examples # Example: Sheet metal hydroforming process outtest <- JOP(datax = datax, datay = datay, tau = list(0, 0.05), numbw = 5) # Location of points locate(outtest, xlu = c(3, 4)) plot.jop Displaying the Joint Optimization Plot The function plot.jop takes the output produced by JOP and returns the joint optimization plot. ## S3 method for class JOP plot(x, no.col = FALSE, standard = TRUE, col = 1, lty = 1, bty = "l", las = 1,adj = 0.5,cex = 1,cex.lab = 1,cex.axis = 1, xlab = c("stretch Vector", "Stretch Vector"), ylab = c("parameter Setting", "Predicted Response"),lwd=1,...) Arguments x object from JOP no.col If TRUE the plot will be gray scaled. Otherwise the plot will be coloured. standard If TRUE the standard deviations will be displayed on the right hand plot. col lty xlab ylab bty,las,cex,adj,cex.lab,cex.axis,lwd Graphical arguments... Further graphical arguments passed to plot.

8 plot.jop Details Let nx be the number of parameters (number of columns of datax) and ny be the number of responses (number of columns of datay). Then col and lty must have length nx+ny. Otherwise predefined grey colors (for no.col=true) or standard colors 1, 2,..., nx+ny are used. The arguments xlab and ylab must have length two, where the first entry contains the label for x-axis and y-axis of the left hand plot and the second entry contains the label for x-axis and y-axis of the right hand plot. Additional graphical arguments can be plugged in. Martina Erdbruegge, Sonja Kuhnt and Nikolaus Rudak (2011). Joint optimization of independent multiple responses based on loss functions, Quality and Reliability Engineering International 27, doi: 10.1002/qre.1229. Joseph J. Pignatiello (1993). Strategies for robust multiresponse quality engineering, IIE Transactions 25, 5-15, Texas A M University. Alexios Ghalanos and Stefan Theussl (2012). Rsolnp: General Non-linear Optimization Using Augmented Lagrange Multiplier Method. R package version 1.12. Peter K Dunn and Gordon K Smyth (2012). dglm: Double generalized linear models, R package version 1.6.2. Sonja Kuhnt, Nikolaus Rudak (2013). Simultaneous Optimization of Multiple Responses with the R Package JOP, Journal of Statistical Software, 54(9), 1-23, URL http://www.jstatsoft.org/v54/i09/. Examples # Example: Sheet metal hydroforming process outtest <- JOP(datax = datax, datay = datay, tau = list(0, 0.05), numbw = 5) # Several graphical parameters can be plugged in plot(outtest, col = 5:8)

Index Topic datasets datax, 2 datay, 2 datax, 2 datay, 2 dglm, 4 family, 3 JOP, 3 locate, 5 plot, 6, 7 plot.jop, 4, 7 solnp, 4 9