Hello!
I am trying to estimate a Linear expenditure system with the nlsur command. I want to have a constraint on the beta-parameters so the sum to 1. With 2 parameters I do it like on the picture but I don't know how to do it when I add another equation Y4 that will estimate b2, b3 and b4 with the constraint: b2+b3+b4 = 1
With two parameters I do like this: [ATTACH=CONFIG]temp_29575_1671180524547_973[/ATTACH]
Thank you in advance!
Related Posts with Constraining parameters in the nlsur command
Confused whether to use first difference variables when testing between modelsI am conducting research on panel data where N=16 and T=24. After conducting panel unit root tests I…
Fixed effects model and mediation analysisHi Statalists- I am working on a cross-national dataset with only 5 countries, and I want to constr…
Block bootstrap codes for time series dataI'm looking to do OLS regression for time series data but there is potentially serially correlated e…
Standard error for rho - xtreg, mleCalculating rho by hand after xtreg, mle would be - if not already outputted anyway: rho = (sigma_u)…
Problem: Independent variable is somewhat dependent on dependent variableDear all, so far I have been a read-only member and have several times profited greatly from your kn…
Subscribe to:
Post Comments (Atom)
0 Response to Constraining parameters in the nlsur command
Post a Comment