[R] Chi-Square test and survey results

2011-10-11 Thread gheine
An organization has asked me to comment on the validity of their recent all-employee survey. Survey responses, by geographic region, compared with the total number of employees in each region, were as follows: ByRegion All.Employees Survey.Respondents Region_1735

[R] Quadratic regression: estimating the maximizing value

2011-02-04 Thread gheine
A bioligist colleague sent me the following data. x Y 3 1 7 5 148 240 (Yes, only four data points.) I don't know much about the application, but apparently there are good empirical reasons to use a quadratic model. The goal is to find the X value which maximizes the