Re: [R] Creating Optimization Constraints

2012-10-17 Thread boylangc
Dr. Varadhan: Perfect. Package Rsolnp is exactly what I was looking for. Thank you very much. r/ Greg -Original Message- >From: Ravi Varadhan >Sent: Oct 17, 2012 10:24 AM >To: "'boyla...@earthlink.net'" >Cc: "r-help@r-project.org" >Subject: Re: [R] Creating Optimization Constrai

[R] Creating Optimization Constraints

2012-10-16 Thread boylangc
Good afternoon, In the code below, I have a set of functions (m1,m2,m3,s1,s2, and s3) which represent response surface designs for the mean and variance for three response variables, followed by an objective function that uses the "Big M" method to minimize variance (that is, push s1, s2, and

Re: [R] Plotting skewed normal distribution with a bar plot

2011-11-04 Thread boylangc
Steve, I don't profess to be an expert in R (by ANY means), but I've used the sn.mle function in package sn to do something similar. So, for example, if you have data (y), you can do the following: y = c(5,4,6,4,5,6,7,7,55,64,23,13,1,4,1,14,1,15,11,12) sn.mle(y=y) I just made up this stream

[R] Using MLE Method to Estimate Regression Coefficients

2011-06-14 Thread boylangc
Good Afternoon, I am relatively new to R and have been trying to figure out how to estimate regression coefficients using the MLE method. Some background: I am trying to examine scenarios in which certain estimators might be preferred to others, starting with MLE. I understand that MLE will