Hi there my SAS friends:
I have a question about solving an function using 2 independent data sets, this because in one of them i have my dependent variable and in the other my independent variables.
So, here is what i have:
I have accomplished to generate the mean diference between 2 data sets, and further this diference i obtained 3 values a0 b0 and b1, like that:
data dif_want; merge mean1 mean2; diff = mean_var_interest1 - mean_var_interest2; a0 = (mean_var_interest1- mean_var_interest2)/30; b0 = log(a0/mean_var_interest2); b1 = b0/10; run;
The next step, to increase the efficience of the solution; i need to use a0 b0 and b1 into this function: proc nlin data=any_other_dataset plots=all method=marquardt; parms a0 = a0 b0 = b0 b1 = b1; model response=a0*exp(exp(b0)*(exp(b1*observation)-1)/b1 ); id Sample; output out=est_ind1 p=pred r=resid parms=a0 b0 b1; run;
I have to write the specifications of the function, being: response and observation that belong to the dataset called 'any_other_dataset'
Thank you very much for your suggestions and help.
... View more