I wish to estimate the following model: y=b0+b1*x1+b2*X2+mu if X2>= f(x1) and y=a0+a1*x1+epsilon if X2>= f(x1), where f() is continuous unknown function. The theoretical model ensuresthat this exits and it is well behaved. The problem is that X2 is a continuous variable in the set [0,1]. If X2 were to be dichotomic, then I think the way of estimating this will be by mean of a switching regression. This model comes out of theoretical repeated game model. y=cooperation and X2=discount factor. Thanks a lot
Related Posts with Continuos selection variable, switching mode
Finding out the reason for collinearityThis sounds very dumb actually. But I tried to control for treatment type (T1, T2, and T3) in the re…
Merge data1 to data2 between certain datesDear Stata Users, I need to merge data1 to data2 such that data1 is merged to data2 between two dat…
Query in STATAHi, I have values in my variable (tax_threshold) with many "0" values. I want to replace all the "0…
Is there an alternative to gen and egen that will save as double if the number is large?Yesterday I realized that I have to set type to double before doing "gen" for large numeric variable…
How to estimate prevalences of an indicator over the years?Dear Statalist, My dataset presents the prevalence of a given indicator over 11 years (2007 to 2017…
Subscribe to:
Post Comments (Atom)
0 Response to Continuos selection variable, switching mode
Post a Comment