I have a nonlinear model: Y = B_0 + B_1*(x_1) + ((B_1)^2)*(x_2) + (B_0)*(B_1)*((x_3)^2) + (B_2)*(x_4)+ e.
Using this nonlinear model I produce data using specified values fo B_0, B_1 and B_2. The error term is normally distributed and creates the random variation in my sample data.
All x_i values (i = 1,2,3, 4) are uniformly distributed (0,20).
I want to find the maximum likelihood estimates for B_0, B_1 and B_2.
I have been struggling to try to figure out how to do this. I have been trying to follow Gould, Pitblado and Poi's guide but I'm having trouble writing a program for the variables that follow the normal distribution.
I know that my likelihood function will be dependent on an indicator function and I am not sure how to incorporate this into a program that will work for all my variables.
Any help or guidance would be much appreciated.
Related Posts with Non Linear Maximum Likelihood Estimation
scatterplots for binary variablesHi, I am very new to Stata so please forgive me if this is a very basic question. I have a binary v…
Creating a string variable based on values of different variablesDear statalisters, Let's say I have 5 different variables that can take values ranging from 1 to 10.…
Nijman and Verbeek (1992) test to formally test for attrition biasDear all, I desperately need help on the step by step process of using Nijman and Verbeek (1992) te…
Stata commandDear all First of all, thank you so much to you (statistical professionals) for your help and advice…
Multiple linear regression - residuals not normal?Hi everyone, I'm running a multiple linear regression with 170 cases. To check for normality of res…
Subscribe to:
Post Comments (Atom)
0 Response to Non Linear Maximum Likelihood Estimation
Post a Comment