Hi guys, I want to do a regression like the equation showed in the following picture. I have date for 100 cities, and my equation requires two coefficients. One is for city i, and the other for the rest 100-i cities, which are the same. I tried the CNSREG, but it is difficult because I have to constraint 99 variable. The help is highly needed. Thanks!
Array
Related Posts with how to regress with the same coefficients for many vairiables
Append to a file on disk on each iteration of a loopHello, I am using Stata version 15.1 and would like to create a file on disk and append the content…
convert strings into date variables with very heterogeneous formatsHello dear community! I am referring to the attached screenshort where you see two columns containi…
Outreg problem outdatedGood afternoon everyone, I have a replication task, which involves the use of outreg command. In th…
Graphing options for decomposition resultsHi statalist, I am using the nldecompose command to examine intra cohort change and cohort replacem…
Panel RegressionHi, I am doing a research paper on panel data taken from BRICS nations as representative of recently…
Subscribe to:
Post Comments (Atom)
0 Response to how to regress with the same coefficients for many vairiables
Post a Comment