Hi,
I'm trying to fit data from 10 different subjects to a nonlinear mixed effect model. The model is a sigmoid function with 4 parameters, all expected to be different from subject to subject, but whereas two of those parameters are drawn from a normal distribution and therefore can be replaced by population mean and population variability parameters (the mean and std of the normal distribution in question), the other two should be treated as subject-specific, rather than drawn from a normal distribution. That means that they should keep individual values for each subject.
Is this possible in Stata?
The function in question (for subject i) is:
Y_i(X) = Bottom_i + (Top_i-Bottom_i)/(1+10^((LogIC50_i-X)*HillSlope_i))
The LogIC50 and HillSlope parameters are normally distributed and I am interested in an estimate of their population means and variability, but the Top and Bottom parameter (defining the top and bottom of the sigmoid fit) can vary (fairly wildly) from subject to subject.
So the mixed effect model I'm trying to employ is
Y_i(X) = Bottom_i + (Top_i-Bottom_i)/(1+10^((LogIC50_mean + sigma_LogIC50*epsilon1_i-X)*(HillSlope_mean + sigma_HillSlope*epsilon2_i))
Any suggestions, short of renormalizing all data from Bottom-Top to 0-100%?
Cristian
Related Posts with mixed effect models
Extract data from 1000 regression tablesHi, I am using this command below for 1000 variables as an outcome. foreach outcome of varlist B-A…
Drop duplicates depending on two variablesHi, I am totally new to Stata (Version 17.0). I´ve got a data set icluding the variables ticker (so…
How can I calculate the turning point of a moderator at given values in Stata?Hi all, here is the example, please run it in Stata, and ignore the issue of significance. Code: *…
Sargan test P value = 0 meaningHi What does a sargan test p value = 0 imply? does it mean my instruments are valid? I read that sa…
Regression TreeDear Users Does anyone have an experience with regression trees in stata, and how the CaRT package w…
Subscribe to:
Post Comments (Atom)
0 Response to mixed effect models
Post a Comment