Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: max number of variables in Stata IC/11.1
From
"Ivica Rubil" <[email protected]>
To
<[email protected]>
Subject
RE: st: max number of variables in Stata IC/11.1
Date
Tue, 29 Nov 2011 11:39:15 +0100
yes, I am using two tempvars and as many tempnames as there are coefficients. so, what should I do?
the code of the function evaluator program
program nlsurquaidsfoodstuff4
version 11.1
syntax varlist(min=46 max=46) if, at(name)
tokenize `varlist'
args w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 ///
lnp1 lnp2 lnp3 lnp4 lnp5 lnp6 lnp7 lnp8 lnp9 lnp10 lnp11 lnp12 lnp13 ///
lnexp ///
q1 q2 q3 ///
sjevzap sredist ///
grad_ prigrad_ ///
logvelkuc ///
dob ///
udjeca6 udjeca6do13 udjeca13do18 ///
vlasnik_kred stanar_placa stanar_neplaca ///
obraz1 obraz2 obraz3 obraz4 obraz5
tempname a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13
scalar `a1' = `at'[1,1]
scalar `a2' = `at'[1,2]
scalar `a3' = `at'[1,3]
scalar `a4' = `at'[1,4]
scalar `a5' = `at'[1,5]
scalar `a6' = `at'[1,6]
scalar `a7' = `at'[1,7]
scalar `a8' = `at'[1,8]
scalar `a9' = `at'[1,9]
scalar `a10' = `at'[1,10]
scalar `a11' = `at'[1,11]
scalar `a12' = `at'[1,12]
scalar `a13' = 1-`a1'-`a2'-`a3'-`a4'-`a5'-`a6'-`a7'-`a8'-`a9'-`a10'-`a11'-`a12'
tempname b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13
scalar `b1' = `at'[1,13]
scalar `b2' = `at'[1,14]
scalar `b3' = `at'[1,15]
scalar `b4' = `at'[1,16]
scalar `b5' = `at'[1,17]
scalar `b6' = `at'[1,18]
scalar `b7' = `at'[1,19]
scalar `b8' = `at'[1,20]
scalar `b9' = `at'[1,21]
scalar `b10' = `at'[1,22]
scalar `b11' = `at'[1,23]
scalar `b12' = `at'[1,24]
scalar `b13' = -`b1'-`b2'-`b3'-`b4'-`b5'-`b6'-`b7'-`b8'-`b9'-`b10'-`b11'-`b12'
tempname g1_1 g1_2 g1_3 g1_4 g1_5 g1_6 g1_7 g1_8 g1_9 g1_10 g1_11 g1_12 g1_13
tempname g2_1 g2_2 g2_3 g2_4 g2_5 g2_6 g2_7 g2_8 g2_9 g2_10 g2_11 g2_12 g2_13
tempname g3_1 g3_2 g3_3 g3_4 g3_5 g3_6 g3_7 g3_8 g3_9 g3_10 g3_11 g3_12 g3_13
tempname g4_1 g4_2 g4_3 g4_4 g4_5 g4_6 g4_7 g4_8 g4_9 g4_10 g4_11 g4_12 g4_13
tempname g5_1 g5_2 g5_3 g5_4 g5_5 g5_6 g5_7 g5_8 g5_9 g5_10 g5_11 g5_12 g5_13
tempname g6_1 g6_2 g6_3 g6_4 g6_5 g6_6 g6_7 g6_8 g6_9 g6_10 g6_11 g6_12 g6_13
tempname g7_1 g7_2 g7_3 g7_4 g7_5 g7_6 g7_7 g7_8 g7_9 g7_10 g7_11 g7_12 g7_13
tempname g8_1 g8_2 g8_3 g8_4 g8_5 g8_6 g8_7 g8_8 g8_9 g8_10 g8_11 g8_12 g8_13
tempname g9_1 g9_2 g9_3 g9_4 g9_5 g9_6 g9_7 g9_8 g9_9 g9_10 g9_11 g9_12 g9_13
tempname g10_1 g10_2 g10_3 g10_4 g10_5 g10_6 g10_7 g10_8 g10_9 g10_10 g10_11 g10_12 g10_13
tempname g11_1 g11_2 g11_3 g11_4 g11_5 g11_6 g11_7 g11_8 g11_9 g11_10 g11_11 g11_12 g11_13
tempname g12_1 g12_2 g12_3 g12_4 g12_5 g12_6 g12_7 g12_8 g12_9 g12_10 g12_11 g12_12 g12_13
tempname g13_1 g13_2 g13_3 g13_4 g13_5 g13_6 g13_7 g13_8 g13_9 g13_10 g13_11 g13_12 g13_13
scalar `g1_1' = `at'[1,25]
scalar `g1_2' = `at'[1,26]
scalar `g1_3' = `at'[1,27]
scalar `g1_4' = `at'[1,28]
scalar `g1_5' = `at'[1,29]
scalar `g1_6' = `at'[1,30]
scalar `g1_7' = `at'[1,31]
scalar `g1_8' = `at'[1,32]
scalar `g1_9' = `at'[1,33]
scalar `g1_10' = `at'[1,34]
scalar `g1_11' = `at'[1,35]
scalar `g1_12' = `at'[1,36]
scalar `g1_13' = -`g1_1'-`g1_2'-`g1_3'-`g1_4'-`g1_5'-`g1_6'-`g1_7'-`g1_8'-`g1_9'-`g1_10'-`g1_11'-`g1_12'
scalar `g2_1' = `g1_2'
scalar `g2_2' = `at'[1,37]
scalar `g2_3' = `at'[1,38]
scalar `g2_4' = `at'[1,39]
scalar `g2_5' = `at'[1,40]
scalar `g2_6' = `at'[1,41]
scalar `g2_7' = `at'[1,42]
scalar `g2_8' = `at'[1,43]
scalar `g2_9' = `at'[1,44]
scalar `g2_10' = `at'[1,45]
scalar `g2_11' = `at'[1,46]
scalar `g2_12' = `at'[1,47]
scalar `g2_13' = -`g2_1'-`g2_2'-`g2_3'-`g2_4'-`g2_5'-`g2_6'-`g2_7'-`g2_8'-`g2_9'-`g2_10'-`g2_11'-`g2_12'
scalar `g3_1' = `g1_3'
scalar `g3_2' = `g2_3'
scalar `g3_3' = `at'[1,48]
scalar `g3_4' = `at'[1,49]
scalar `g3_5' = `at'[1,50]
scalar `g3_6' = `at'[1,51]
scalar `g3_7' = `at'[1,52]
scalar `g3_8' = `at'[1,53]
scalar `g3_9' = `at'[1,54]
scalar `g3_10' = `at'[1,55]
scalar `g3_11' = `at'[1,56]
scalar `g3_12' = `at'[1,57]
scalar `g3_13' = -`g3_1'-`g3_2'-`g3_3'-`g3_4'-`g3_5'-`g3_6'-`g3_7'-`g3_8'-`g3_9'-`g3_10'-`g3_11'-`g3_12'
scalar `g4_1' = `g1_4'
scalar `g4_2' = `g2_4'
scalar `g4_3' = `g3_4'
scalar `g4_4' = `at'[1,58]
scalar `g4_5' = `at'[1,59]
scalar `g4_6' = `at'[1,60]
scalar `g4_7' = `at'[1,61]
scalar `g4_8' = `at'[1,62]
scalar `g4_9' = `at'[1,63]
scalar `g4_10' = `at'[1,64]
scalar `g4_11' = `at'[1,65]
scalar `g4_12' = `at'[1,66]
scalar `g4_13' = -`g4_1'-`g4_2'-`g4_3'-`g4_4'-`g4_5'-`g4_6'-`g4_7'-`g4_8'-`g4_9'-`g4_10'-`g4_11'-`g4_12'
scalar `g5_1' = `g1_5'
scalar `g5_2' = `g2_5'
scalar `g5_3' = `g3_5'
scalar `g5_4' = `g4_5'
scalar `g5_5' = `at'[1,67]
scalar `g5_6' = `at'[1,68]
scalar `g5_7' = `at'[1,69]
scalar `g5_8' = `at'[1,70]
scalar `g5_9' = `at'[1,71]
scalar `g5_10' = `at'[1,72]
scalar `g5_11' = `at'[1,73]
scalar `g5_12' = `at'[1,74]
scalar `g5_13' = -`g5_1'-`g5_2'-`g5_3'-`g5_4'-`g5_5'-`g5_6'-`g5_7'-`g5_8'-`g5_9'-`g5_10'-`g5_11'-`g5_12'
scalar `g6_1' = `g1_6'
scalar `g6_2' = `g2_6'
scalar `g6_3' = `g3_6'
scalar `g6_4' = `g4_6'
scalar `g6_5' = `g5_6'
scalar `g6_6' = `at'[1,75]
scalar `g6_7' = `at'[1,76]
scalar `g6_8' = `at'[1,77]
scalar `g6_9' = `at'[1,78]
scalar `g6_10' = `at'[1,79]
scalar `g6_11' = `at'[1,80]
scalar `g6_12' = `at'[1,81]
scalar `g6_13' = -`g6_1'-`g6_2'-`g6_3'-`g6_4'-`g6_5'-`g6_6'-`g6_7'-`g6_8'-`g6_9'-`g6_10'-`g6_11'-`g6_12'
scalar `g7_1' = `g1_7'
scalar `g7_2' = `g2_7'
scalar `g7_3' = `g3_7'
scalar `g7_4' = `g4_7'
scalar `g7_5' = `g5_7'
scalar `g7_6' = `g6_7'
scalar `g7_7' = `at'[1,82]
scalar `g7_8' = `at'[1,83]
scalar `g7_9' = `at'[1,84]
scalar `g7_10' = `at'[1,85]
scalar `g7_11' = `at'[1,86]
scalar `g7_12' = `at'[1,87]
scalar `g7_13' = -`g7_1'-`g7_2'-`g7_3'-`g7_4'-`g7_5'-`g7_6'-`g7_7'-`g7_8'-`g7_9'-`g7_10'-`g7_11'-`g7_12'
scalar `g8_1' = `g1_8'
scalar `g8_2' = `g2_8'
scalar `g8_3' = `g3_8'
scalar `g8_4' = `g4_8'
scalar `g8_5' = `g5_8'
scalar `g8_6' = `g6_8'
scalar `g8_7' = `g7_8'
scalar `g8_8' = `at'[1,88]
scalar `g8_9' = `at'[1,89]
scalar `g8_10' = `at'[1,90]
scalar `g8_11' = `at'[1,91]
scalar `g8_12' = `at'[1,92]
scalar `g8_13' = -`g8_1'-`g8_2'-`g8_3'-`g8_4'-`g8_5'-`g8_6'-`g8_7'-`g8_8'-`g8_9'-`g8_10'-`g8_11'-`g8_12'
scalar `g9_1' = `g1_9'
scalar `g9_2' = `g2_9'
scalar `g9_3' = `g3_9'
scalar `g9_4' = `g4_9'
scalar `g9_5' = `g5_9'
scalar `g9_6' = `g6_9'
scalar `g9_7' = `g7_9'
scalar `g9_8' = `g8_9'
scalar `g9_9' = `at'[1,93]
scalar `g9_10' = `at'[1,94]
scalar `g9_11' = `at'[1,95]
scalar `g9_12' = `at'[1,96]
scalar `g9_13' = -`g9_1'-`g9_2'-`g9_3'-`g9_4'-`g9_5'-`g9_6'-`g9_7'-`g9_8'-`g9_9'-`g9_10'-`g9_11'-`g9_12'
scalar `g10_1' = `g1_10'
scalar `g10_2' = `g2_10'
scalar `g10_3' = `g3_10'
scalar `g10_4' = `g4_10'
scalar `g10_5' = `g5_10'
scalar `g10_6' = `g6_10'
scalar `g10_7' = `g7_10'
scalar `g10_8' = `g8_10'
scalar `g10_9' = `g9_10'
scalar `g10_10' = `at'[1,97]
scalar `g10_11' = `at'[1,98]
scalar `g10_12' = `at'[1,99]
scalar `g10_13' = -`g10_1'-`g10_2'-`g10_3'-`g10_4'-`g10_5'-`g10_6'-`g10_7'-`g10_8'-`g10_9'-`g10_10'-`g10_11'-`g10_12'
scalar `g11_1' = `g1_11'
scalar `g11_2' = `g2_11'
scalar `g11_3' = `g3_11'
scalar `g11_4' = `g4_11'
scalar `g11_5' = `g5_11'
scalar `g11_6' = `g6_11'
scalar `g11_7' = `g7_11'
scalar `g11_8' = `g8_11'
scalar `g11_9' = `g9_11'
scalar `g11_10' = `g10_11'
scalar `g11_11' = `at'[1,100]
scalar `g11_12' = `at'[1,101]
scalar `g11_13' = -`g11_1'-`g11_2'-`g11_3'-`g11_4'-`g11_5'-`g11_6'-`g11_7'-`g11_8'-`g11_9'-`g11_10'-`g11_11'-`g11_12'
scalar `g12_1' = `g1_12'
scalar `g12_2' = `g2_12'
scalar `g12_3' = `g3_12'
scalar `g12_4' = `g4_12'
scalar `g12_5' = `g5_12'
scalar `g12_6' = `g6_12'
scalar `g12_7' = `g7_12'
scalar `g12_8' = `g8_12'
scalar `g12_9' = `g9_12'
scalar `g12_10' = `g10_12'
scalar `g12_11' = `g11_12'
scalar `g12_12' = `at'[1,102]
scalar `g12_13' = -`g12_1'-`g12_2'-`g12_3'-`g12_4'-`g12_5'-`g12_6'-`g12_7'-`g12_8'-`g12_9'-`g12_10'-`g12_11'-`g12_12'
scalar `g13_1' = `g1_13'
scalar `g13_2' = `g2_13'
scalar `g13_3' = `g3_13'
scalar `g13_4' = `g4_13'
scalar `g13_5' = `g5_13'
scalar `g13_6' = `g6_13'
scalar `g13_7' = `g7_13'
scalar `g13_8' = `g8_13'
scalar `g13_9' = `g9_13'
scalar `g13_10' = `g10_13'
scalar `g13_11' = `g11_13'
scalar `g13_12' = `g12_13'
scalar `g13_13' = -`g13_1'-`g13_2'-`g13_3'-`g13_4'-`g13_5'-`g13_6'-`g13_7'-`g13_8'-`g13_9'-`g13_10'-`g13_11'-`g13_12'
tempname l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13
scalar `l1' = `at'[1,103]
scalar `l2' = `at'[1,104]
scalar `l3' = `at'[1,105]
scalar `l4' = `at'[1,106]
scalar `l5' = `at'[1,107]
scalar `l6' = `at'[1,108]
scalar `l7' = `at'[1,109]
scalar `l8' = `at'[1,110]
scalar `l9' = `at'[1,111]
scalar `l10' = `at'[1,112]
scalar `l11' = `at'[1,113]
scalar `l12' = `at'[1,114]
scalar `l13' = -`l1'-`l2'-`l3'-`l4'-`l5'-`l6'-`l7'-`l8'-`l9'-`l10'-`l11'-`l12'
tempname z1_1 z1_2 z1_3 z1_4 z1_5 z1_6 z1_7 z1_8 z1_9 z1_10 z1_11 z1_12 z1_13 z1_14 z1_15 z1_16 z1_17 z1_18 z1_19 z1_20
tempname z2_1 z2_2 z2_3 z2_4 z2_5 z2_6 z2_7 z2_8 z2_9 z2_10 z2_11 z2_12 z2_13 z2_14 z2_15 z2_16 z2_17 z2_18 z2_19 z2_20
tempname z3_1 z3_2 z3_3 z3_4 z3_5 z3_6 z3_7 z3_8 z3_9 z3_10 z3_11 z3_12 z3_13 z3_14 z3_15 z3_16 z3_17 z3_18 z3_19 z3_20
tempname z4_1 z4_2 z4_3 z4_4 z4_5 z4_6 z4_7 z4_8 z4_9 z4_10 z4_11 z4_12 z4_13 z4_14 z4_15 z4_16 z4_17 z4_18 z4_19 z4_20
tempname z5_1 z5_2 z5_3 z5_4 z5_5 z5_6 z5_7 z5_8 z5_9 z5_10 z5_11 z5_12 z5_13 z5_14 z5_15 z5_16 z5_17 z5_18 z5_19 z5_20
tempname z6_1 z6_2 z6_3 z6_4 z6_5 z6_6 z6_7 z6_8 z6_9 z6_10 z6_11 z6_12 z6_13 z6_14 z6_15 z6_16 z6_17 z6_18 z6_19 z6_20
tempname z7_1 z7_2 z7_3 z7_4 z7_5 z7_6 z7_7 z7_8 z7_9 z7_10 z7_11 z7_12 z7_13 z7_14 z7_15 z7_16 z7_17 z7_18 z7_19 z7_20
tempname z8_1 z8_2 z8_3 z8_4 z8_5 z8_6 z8_7 z8_8 z8_9 z8_10 z8_11 z8_12 z8_13 z8_14 z8_15 z8_16 z8_17 z8_18 z8_19 z8_20
tempname z9_1 z9_2 z9_3 z9_4 z9_5 z9_6 z9_7 z9_8 z9_9 z9_10 z9_11 z9_12 z9_13 z9_14 z9_15 z9_16 z9_17 z9_18 z9_19 z9_20
tempname z10_1 z10_2 z10_3 z10_4 z10_5 z10_6 z10_7 z10_8 z10_9 z10_10 z10_11 z10_12 z10_13 z10_14 z10_15 z10_16 z10_17 z10_18 z10_19 z10_20
tempname z11_1 z11_2 z11_3 z11_4 z11_5 z11_6 z11_7 z11_8 z11_9 z11_10 z11_11 z11_12 z11_13 z11_14 z11_15 z11_16 z11_17 z11_18 z11_19 z11_20
tempname z12_1 z12_2 z12_3 z12_4 z12_5 z12_6 z12_7 z12_8 z12_9 z12_10 z12_11 z12_12 z12_13 z12_14 z12_15 z12_16 z12_17 z12_18 z12_19 z12_20
tempname z13_1 z13_2 z13_3 z13_4 z13_5 z13_6 z13_7 z13_8 z13_9 z13_10 z13_11 z13_12 z13_13 z13_14 z13_15 z13_16 z13_17 z13_18 z13_19 z13_20
scalar `z1_1' = `at'[1,115]
scalar `z2_1' = `at'[1,116]
scalar `z3_1' = `at'[1,117]
scalar `z4_1' = `at'[1,118]
scalar `z5_1' = `at'[1,119]
scalar `z6_1' = `at'[1,120]
scalar `z7_1' = `at'[1,121]
scalar `z8_1' = `at'[1,122]
scalar `z9_1' = `at'[1,123]
scalar `z10_1' = `at'[1,124]
scalar `z11_1' = `at'[1,125]
scalar `z12_1' = `at'[1,126]
scalar `z13_1' = -`z1_1'-`z2_1'-`z3_1'-`z4_1'-`z5_1'-`z6_1'-`z7_1'-`z8_1'-`z9_1'-`z10_1'-`z11_1'-`z12_1'
scalar `z1_2' = `at'[1,127]
scalar `z2_2' = `at'[1,128]
scalar `z3_2' = `at'[1,129]
scalar `z4_2' = `at'[1,130]
scalar `z5_2' = `at'[1,131]
scalar `z6_2' = `at'[1,132]
scalar `z7_2' = `at'[1,133]
scalar `z8_2' = `at'[1,134]
scalar `z9_2' = `at'[1,135]
scalar `z10_2' = `at'[1,136]
scalar `z11_2' = `at'[1,137]
scalar `z12_2' = `at'[1,138]
scalar `z13_2' = -`z1_2'-`z2_2'-`z3_2'-`z4_2'-`z5_2'-`z6_2'-`z7_2'-`z8_2'-`z9_2'-`z10_2'-`z11_2'-`z12_2'
scalar `z1_3' = `at'[1,139]
scalar `z2_3' = `at'[1,140]
scalar `z3_3' = `at'[1,141]
scalar `z4_3' = `at'[1,142]
scalar `z5_3' = `at'[1,143]
scalar `z6_3' = `at'[1,144]
scalar `z7_3' = `at'[1,145]
scalar `z8_3' = `at'[1,146]
scalar `z9_3' = `at'[1,147]
scalar `z10_3' = `at'[1,148]
scalar `z11_3' = `at'[1,149]
scalar `z12_3' = `at'[1,150]
scalar `z13_3' = -`z1_3'-`z2_3'-`z3_3'-`z4_3'-`z5_3'-`z6_3'-`z7_3'-`z8_3'-`z9_3'-`z10_3'-`z11_3'-`z12_3'
scalar `z1_4' = `at'[1,151]
scalar `z2_4' = `at'[1,152]
scalar `z3_4' = `at'[1,153]
scalar `z4_4' = `at'[1,154]
scalar `z5_4' = `at'[1,155]
scalar `z6_4' = `at'[1,156]
scalar `z7_4' = `at'[1,157]
scalar `z8_4' = `at'[1,158]
scalar `z9_4' = `at'[1,159]
scalar `z10_4' = `at'[1,160]
scalar `z11_4' = `at'[1,161]
scalar `z12_4' = `at'[1,162]
scalar `z13_4' = -`z1_4'-`z2_4'-`z3_4'-`z4_4'-`z5_4'-`z6_4'-`z7_4'-`z8_4'-`z9_4'-`z10_4'-`z11_4'-`z12_4'
scalar `z1_5' = `at'[1,163]
scalar `z2_5' = `at'[1,164]
scalar `z3_5' = `at'[1,165]
scalar `z4_5' = `at'[1,166]
scalar `z5_5' = `at'[1,167]
scalar `z6_5' = `at'[1,168]
scalar `z7_5' = `at'[1,169]
scalar `z8_5' = `at'[1,170]
scalar `z9_5' = `at'[1,171]
scalar `z10_5' = `at'[1,172]
scalar `z11_5' = `at'[1,173]
scalar `z12_5' = `at'[1,174]
scalar `z13_5' = -`z1_5'-`z2_5'-`z3_5'-`z4_5'-`z5_5'-`z6_5'-`z7_5'-`z8_5'-`z9_5'-`z10_5'-`z11_5'-`z12_5'
scalar `z1_6' = `at'[1,175]
scalar `z2_6' = `at'[1,176]
scalar `z3_6' = `at'[1,177]
scalar `z4_6' = `at'[1,178]
scalar `z5_6' = `at'[1,179]
scalar `z6_6' = `at'[1,180]
scalar `z7_6' = `at'[1,181]
scalar `z8_6' = `at'[1,182]
scalar `z9_6' = `at'[1,183]
scalar `z10_6' = `at'[1,184]
scalar `z11_6' = `at'[1,185]
scalar `z12_6' = `at'[1,186]
scalar `z13_6' = -`z1_6'-`z2_6'-`z3_6'-`z4_6'-`z5_6'-`z6_6'-`z7_6'-`z8_6'-`z9_6'-`z10_6'-`z11_6'-`z12_6'
scalar `z1_7' = `at'[1,187]
scalar `z2_7' = `at'[1,188]
scalar `z3_7' = `at'[1,189]
scalar `z4_7' = `at'[1,190]
scalar `z5_7' = `at'[1,191]
scalar `z6_7' = `at'[1,192]
scalar `z7_7' = `at'[1,193]
scalar `z8_7' = `at'[1,194]
scalar `z9_7' = `at'[1,195]
scalar `z10_7' = `at'[1,196]
scalar `z11_7' = `at'[1,197]
scalar `z12_7' = `at'[1,198]
scalar `z13_7' = -`z1_7'-`z2_7'-`z3_7'-`z4_7'-`z5_7'-`z6_7'-`z7_7'-`z8_7'-`z9_7'-`z10_7'-`z11_7'-`z12_7'
scalar `z1_8' = `at'[1,199]
scalar `z2_8' = `at'[1,200]
scalar `z3_8' = `at'[1,201]
scalar `z4_8' = `at'[1,202]
scalar `z5_8' = `at'[1,203]
scalar `z6_8' = `at'[1,204]
scalar `z7_8' = `at'[1,205]
scalar `z8_8' = `at'[1,206]
scalar `z9_8' = `at'[1,207]
scalar `z10_8' = `at'[1,208]
scalar `z11_8' = `at'[1,209]
scalar `z12_8' = `at'[1,210]
scalar `z13_8' = -`z1_8'-`z2_8'-`z3_8'-`z4_8'-`z5_8'-`z6_8'-`z7_8'-`z8_8'-`z9_8'-`z10_8'-`z11_8'-`z12_8'
scalar `z1_9' = `at'[1,211]
scalar `z2_9' = `at'[1,212]
scalar `z3_9' = `at'[1,213]
scalar `z4_9' = `at'[1,214]
scalar `z5_9' = `at'[1,215]
scalar `z6_9' = `at'[1,216]
scalar `z7_9' = `at'[1,217]
scalar `z8_9' = `at'[1,218]
scalar `z9_9' = `at'[1,219]
scalar `z10_9' = `at'[1,220]
scalar `z11_9' = `at'[1,221]
scalar `z12_9' = `at'[1,222]
scalar `z13_9' = -`z1_9'-`z2_9'-`z3_9'-`z4_9'-`z5_9'-`z6_9'-`z7_9'-`z8_9'-`z9_9'-`z10_9'-`z11_9'-`z12_9'
scalar `z1_10' = `at'[1,223]
scalar `z2_10' = `at'[1,224]
scalar `z3_10' = `at'[1,225]
scalar `z4_10' = `at'[1,226]
scalar `z5_10' = `at'[1,227]
scalar `z6_10' = `at'[1,228]
scalar `z7_10' = `at'[1,229]
scalar `z8_10' = `at'[1,230]
scalar `z9_10' = `at'[1,231]
scalar `z10_10' = `at'[1,232]
scalar `z11_10' = `at'[1,233]
scalar `z12_10' = `at'[1,234]
scalar `z13_10' = -`z1_10'-`z2_10'-`z3_10'-`z4_10'-`z5_10'-`z6_10'-`z7_10'-`z8_10'-`z9_10'-`z10_10'-`z11_10'-`z12_10'
scalar `z1_11' = `at'[1,235]
scalar `z2_11' = `at'[1,236]
scalar `z3_11' = `at'[1,237]
scalar `z4_11' = `at'[1,238]
scalar `z5_11' = `at'[1,239]
scalar `z6_11' = `at'[1,240]
scalar `z7_11' = `at'[1,241]
scalar `z8_11' = `at'[1,242]
scalar `z9_11' = `at'[1,243]
scalar `z10_11' = `at'[1,244]
scalar `z11_11' = `at'[1,245]
scalar `z12_11' = `at'[1,246]
scalar `z13_11' = -`z1_11'-`z2_11'-`z3_11'-`z4_11'-`z5_11'-`z6_11'-`z7_11'-`z8_11'-`z9_11'-`z10_11'-`z11_11'-`z12_11'
scalar `z1_12' = `at'[1,247]
scalar `z2_12' = `at'[1,248]
scalar `z3_12' = `at'[1,249]
scalar `z4_12' = `at'[1,250]
scalar `z5_12' = `at'[1,251]
scalar `z6_12' = `at'[1,252]
scalar `z7_12' = `at'[1,253]
scalar `z8_12' = `at'[1,254]
scalar `z9_12' = `at'[1,255]
scalar `z10_12' = `at'[1,256]
scalar `z11_12' = `at'[1,257]
scalar `z12_12' = `at'[1,258]
scalar `z13_12' = -`z1_12'-`z2_12'-`z3_12'-`z4_12'-`z5_12'-`z6_12'-`z7_12'-`z8_12'-`z9_12'-`z10_12'-`z11_12'-`z12_12'
scalar `z1_13' = `at'[1,259]
scalar `z2_13' = `at'[1,260]
scalar `z3_13' = `at'[1,261]
scalar `z4_13' = `at'[1,262]
scalar `z5_13' = `at'[1,263]
scalar `z6_13' = `at'[1,264]
scalar `z7_13' = `at'[1,265]
scalar `z8_13' = `at'[1,266]
scalar `z9_13' = `at'[1,267]
scalar `z10_13' = `at'[1,268]
scalar `z11_13' = `at'[1,269]
scalar `z12_13' = `at'[1,270]
scalar `z13_13' = -`z1_13'-`z2_13'-`z3_13'-`z4_13'-`z5_13'-`z6_13'-`z7_13'-`z8_13'-`z9_13'-`z10_13'-`z11_13'-`z12_13'
scalar `z1_14' = `at'[1,271]
scalar `z2_14' = `at'[1,272]
scalar `z3_14' = `at'[1,273]
scalar `z4_14' = `at'[1,274]
scalar `z5_14' = `at'[1,275]
scalar `z6_14' = `at'[1,276]
scalar `z7_14' = `at'[1,277]
scalar `z8_14' = `at'[1,278]
scalar `z9_14' = `at'[1,279]
scalar `z10_14' = `at'[1,280]
scalar `z11_14' = `at'[1,281]
scalar `z12_14' = `at'[1,282]
scalar `z13_14' = -`z1_14'-`z2_14'-`z3_14'-`z4_14'-`z5_14'-`z6_14'-`z7_14'-`z8_14'-`z9_14'-`z10_14'-`z11_14'-`z12_14'
scalar `z1_15' = `at'[1,283]
scalar `z2_15' = `at'[1,284]
scalar `z3_15' = `at'[1,285]
scalar `z4_15' = `at'[1,286]
scalar `z5_15' = `at'[1,287]
scalar `z6_15' = `at'[1,288]
scalar `z7_15' = `at'[1,289]
scalar `z8_15' = `at'[1,290]
scalar `z9_15' = `at'[1,291]
scalar `z10_15' = `at'[1,292]
scalar `z11_15' = `at'[1,293]
scalar `z12_15' = `at'[1,294]
scalar `z13_15' = -`z1_15'-`z2_15'-`z3_15'-`z4_15'-`z5_15'-`z6_15'-`z7_15'-`z8_15'-`z9_15'-`z10_15'-`z11_15'-`z12_15'
scalar `z1_16' = `at'[1,295]
scalar `z2_16' = `at'[1,296]
scalar `z3_16' = `at'[1,297]
scalar `z4_16' = `at'[1,298]
scalar `z5_16' = `at'[1,299]
scalar `z6_16' = `at'[1,300]
scalar `z7_16' = `at'[1,301]
scalar `z8_16' = `at'[1,302]
scalar `z9_16' = `at'[1,303]
scalar `z10_16' = `at'[1,304]
scalar `z11_16' = `at'[1,305]
scalar `z12_16' = `at'[1,306]
scalar `z13_16' = -`z1_16'-`z2_16'-`z3_16'-`z4_16'-`z5_16'-`z6_16'-`z7_16'-`z8_16'-`z9_16'-`z10_16'-`z11_16'-`z12_16'
scalar `z1_17' = `at'[1,307]
scalar `z2_17' = `at'[1,308]
scalar `z3_17' = `at'[1,309]
scalar `z4_17' = `at'[1,310]
scalar `z5_17' = `at'[1,311]
scalar `z6_17' = `at'[1,312]
scalar `z7_17' = `at'[1,313]
scalar `z8_17' = `at'[1,314]
scalar `z9_17' = `at'[1,315]
scalar `z10_17' = `at'[1,316]
scalar `z11_17' = `at'[1,317]
scalar `z12_17' = `at'[1,318]
scalar `z13_17' = -`z1_17'-`z2_17'-`z3_17'-`z4_17'-`z5_17'-`z6_17'-`z7_17'-`z8_17'-`z9_17'-`z10_17'-`z11_17'-`z12_17'
scalar `z1_18' = `at'[1,319]
scalar `z2_18' = `at'[1,320]
scalar `z3_18' = `at'[1,321]
scalar `z4_18' = `at'[1,322]
scalar `z5_18' = `at'[1,323]
scalar `z6_18' = `at'[1,324]
scalar `z7_18' = `at'[1,325]
scalar `z8_18' = `at'[1,326]
scalar `z9_18' = `at'[1,327]
scalar `z10_18' = `at'[1,328]
scalar `z11_18' = `at'[1,329]
scalar `z12_18' = `at'[1,330]
scalar `z13_18' = -`z1_18'-`z2_18'-`z3_18'-`z4_18'-`z5_18'-`z6_18'-`z7_18'-`z8_18'-`z9_18'-`z10_18'-`z11_18'-`z12_18'
scalar `z1_19' = `at'[1,331]
scalar `z2_19' = `at'[1,332]
scalar `z3_19' = `at'[1,333]
scalar `z4_19' = `at'[1,334]
scalar `z5_19' = `at'[1,335]
scalar `z6_19' = `at'[1,336]
scalar `z7_19' = `at'[1,337]
scalar `z8_19' = `at'[1,338]
scalar `z9_19' = `at'[1,339]
scalar `z10_19' = `at'[1,340]
scalar `z11_19' = `at'[1,341]
scalar `z12_19' = `at'[1,342]
scalar `z13_19' = -`z1_19'-`z2_19'-`z3_19'-`z4_19'-`z5_19'-`z6_19'-`z7_19'-`z8_19'-`z9_19'-`z10_19'-`z11_19'-`z12_19'
scalar `z1_20' = `at'[1,343]
scalar `z2_20' = `at'[1,344]
scalar `z3_20' = `at'[1,345]
scalar `z4_20' = `at'[1,346]
scalar `z5_20' = `at'[1,347]
scalar `z6_20' = `at'[1,348]
scalar `z7_20' = `at'[1,349]
scalar `z8_20' = `at'[1,350]
scalar `z9_20' = `at'[1,351]
scalar `z10_20' = `at'[1,352]
scalar `z11_20' = `at'[1,353]
scalar `z12_20' = `at'[1,354]
scalar `z13_20' = -`z1_20'-`z2_20'-`z3_20'-`z4_20'-`z5_20'-`z6_20'-`z7_20'-`z8_20'-`z9_20'-`z10_20'-`z11_20'-`z12_20'
qui {
tempvar lnpindex
gen double `lnpindex' = 5 + `a1'*`lnp1' + `a2'*`lnp2' + `a3'*`lnp3' + `a4'*`lnp4' + ///
`a5'*`lnp5' + `a6'*`lnp6' + `a7'*`lnp7' + `a8'*`lnp8' + ///
`a9'*`lnp9' + `a10'*`lnp10' + `a11'*`lnp11' + `a12'*`lnp12' + `a13'*`lnp13'
forvalues i = 1/13 {
forvalues j=1/13 {
replace `lnpindex' = `lnpindex' + 0.5 * `g`i'_`j'' * `lnp`i'' * `lnp`j''
}
}
tempvar bofp
gen double `bofp' = 0
forvalues i = 1/13 {
replace `bofp' = `bofp' + `lnp`i''*`b`i''
}
replace `bofp' = exp(`bofp')
replace `w1' = `a1' + `g1_1'*`lnp1' + `g1_2'*`lnp2' + `g1_3'*`lnp3' + `g1_4'*`lnp4' + `g1_5'*`lnp5' + ///
`g1_6'*`lnp6' + `g1_7'*`lnp7' + `g1_8'*`lnp8' + `g1_9'*`lnp9' + `g1_10'*`lnp10' + ///
`g1_11'*`lnp11' + `g1_12'*`lnp12' + `g1_13'*`lnp13' + ///
`b1'*(`lnexp' - `lnpindex') + `l1'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z1_1'*`q1' + `z1_2'*`q2' + `z1_3'*`q3' + ///
`z1_4'*`sjevzap' + `z1_5'*`sredist' + ///
`z1_6'*`grad_' + `z1_7'*`prigrad_' + ///
`z1_8'*`logvelkuc' + `z1_9'*`dob' + ///
`z1_10'*`udjeca6' + `z1_11'*`udjeca6do13' + `z1_12'*`udjeca13do18' + ///
`z1_13'*`vlasnik_kred' + `z1_14'*`stanar_placa' + `z1_15'*`stanar_neplaca' + ///
`z1_16'*`obraz1' + `z1_17'*`obraz2' + `z1_18'*`obraz3' + `z1_19'*`obraz4' + `z1_20'*`obraz5'
replace `w2' = `a2' + `g2_1'*`lnp1' + `g2_2'*`lnp2' + `g2_3'*`lnp3' + `g2_4'*`lnp4' + `g2_5'*`lnp5' + ///
`g2_6'*`lnp6' + `g2_7'*`lnp7' + `g2_8'*`lnp8' + `g2_9'*`lnp9' + `g2_10'*`lnp10' + ///
`g2_11'*`lnp11' + `g2_12'*`lnp12' + `g2_13'*`lnp13' + ///
`b2'*(`lnexp' - `lnpindex') + `l2'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z2_1'*`q1' + `z2_2'*`q2' + `z2_3'*`q3' + ///
`z2_4'*`sjevzap' + `z2_5'*`sredist' + ///
`z2_6'*`grad_' + `z2_7'*`prigrad_' + ///
`z2_8'*`logvelkuc' + `z2_9'*`dob' + ///
`z2_10'*`udjeca6' + `z2_11'*`udjeca6do13' + `z2_12'*`udjeca13do18' + ///
`z2_13'*`vlasnik_kred' + `z2_14'*`stanar_placa' + `z2_15'*`stanar_neplaca' + ///
`z2_16'*`obraz1' + `z2_17'*`obraz2' + `z2_18'*`obraz3' + `z2_19'*`obraz4' + `z2_20'*`obraz5'
replace `w3' = `a3' + `g3_1'*`lnp1' + `g3_2'*`lnp2' + `g3_3'*`lnp3' + `g3_4'*`lnp4' + `g3_5'*`lnp5' + ///
`g3_6'*`lnp6' + `g3_7'*`lnp7' + `g3_8'*`lnp8' + `g3_9'*`lnp9' + `g3_10'*`lnp10' + ///
`g3_11'*`lnp11' + `g3_12'*`lnp12' + `g3_13'*`lnp13' + ///
`b3'*(`lnexp' - `lnpindex') + `l3'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z3_1'*`q1' + `z3_2'*`q2' + `z3_3'*`q3' + ///
`z3_4'*`sjevzap' + `z3_5'*`sredist' + ///
`z3_6'*`grad_' + `z3_7'*`prigrad_' + ///
`z3_8'*`logvelkuc' + `z3_9'*`dob' + ///
`z3_10'*`udjeca6' + `z3_11'*`udjeca6do13' + `z3_12'*`udjeca13do18' + ///
`z3_13'*`vlasnik_kred' + `z3_14'*`stanar_placa' + `z3_15'*`stanar_neplaca' + ///
`z3_16'*`obraz1' + `z3_17'*`obraz2' + `z3_18'*`obraz3' + `z3_19'*`obraz4' + `z3_20'*`obraz5'
replace `w4' = `a4' + `g4_1'*`lnp1' + `g4_2'*`lnp2' + `g4_3'*`lnp3' + `g4_4'*`lnp4' + `g4_5'*`lnp5' + ///
`g4_6'*`lnp6' + `g4_7'*`lnp7' + `g4_8'*`lnp8' + `g4_9'*`lnp9' + `g4_10'*`lnp10' + ///
`g4_11'*`lnp11' + `g4_12'*`lnp12' + `g4_13'*`lnp13' + ///
`b4'*(`lnexp' - `lnpindex') + `l4'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z4_1'*`q1' + `z4_2'*`q2' + `z4_3'*`q3' + ///
`z4_4'*`sjevzap' + `z4_5'*`sredist' + ///
`z4_6'*`grad_' + `z4_7'*`prigrad_' + ///
`z4_8'*`logvelkuc' + `z4_9'*`dob' + ///
`z4_10'*`udjeca6' + `z4_11'*`udjeca6do13' + `z4_12'*`udjeca13do18' + ///
`z4_13'*`vlasnik_kred' + `z4_14'*`stanar_placa' + `z4_15'*`stanar_neplaca' + ///
`z4_16'*`obraz1' + `z4_17'*`obraz2' + `z4_18'*`obraz3' + `z4_19'*`obraz4' + `z4_20'*`obraz5'
replace `w5' = `a5' + `g5_1'*`lnp1' + `g5_2'*`lnp2' + `g5_3'*`lnp3' + `g5_4'*`lnp4' + `g5_5'*`lnp5' + ///
`g5_6'*`lnp6' + `g5_7'*`lnp7' + `g5_8'*`lnp8' + `g5_9'*`lnp9' + `g5_10'*`lnp10' + ///
`g5_11'*`lnp11' + `g5_12'*`lnp12' + `g5_13'*`lnp13' + ///
`b5'*(`lnexp' - `lnpindex') + `l5'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z5_1'*`q1' + `z5_2'*`q2' + `z5_3'*`q3' + ///
`z5_4'*`sjevzap' + `z5_5'*`sredist' + ///
`z5_6'*`grad_' + `z5_7'*`prigrad_' + ///
`z5_8'*`logvelkuc' + `z5_9'*`dob' + ///
`z5_10'*`udjeca6' + `z5_11'*`udjeca6do13' + `z5_12'*`udjeca13do18' + ///
`z5_13'*`vlasnik_kred' + `z5_14'*`stanar_placa' + `z5_15'*`stanar_neplaca' + ///
`z5_16'*`obraz1' + `z5_17'*`obraz2' + `z5_18'*`obraz3' + `z5_19'*`obraz4' + `z5_20'*`obraz5'
replace `w6' = `a6' + `g6_1'*`lnp1' + `g6_2'*`lnp2' + `g6_3'*`lnp3' + `g6_4'*`lnp4' + `g6_5'*`lnp5' + ///
`g6_6'*`lnp6' + `g6_7'*`lnp7' + `g6_8'*`lnp8' + `g6_9'*`lnp9' + `g6_10'*`lnp10' + ///
`g6_11'*`lnp11' + `g6_12'*`lnp12' + `g6_13'*`lnp13' + ///
`b6'*(`lnexp' - `lnpindex') + `l6'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z6_1'*`q1' + `z6_2'*`q2' + `z6_3'*`q3' + ///
`z6_4'*`sjevzap' + `z6_5'*`sredist' + ///
`z6_6'*`grad_' + `z6_7'*`prigrad_' + ///
`z6_8'*`logvelkuc' + `z6_9'*`dob' + ///
`z6_10'*`udjeca6' + `z6_11'*`udjeca6do13' + `z6_12'*`udjeca13do18' + ///
`z6_13'*`vlasnik_kred' + `z6_14'*`stanar_placa' + `z6_15'*`stanar_neplaca' + ///
`z6_16'*`obraz1' + `z6_17'*`obraz2' + `z6_18'*`obraz3' + `z6_19'*`obraz4' + `z6_20'*`obraz5'
replace `w7' = `a7' + `g7_1'*`lnp1' + `g7_2'*`lnp2' + `g7_3'*`lnp3' + `g7_4'*`lnp4' + `g7_5'*`lnp5' + ///
`g7_6'*`lnp6' + `g7_7'*`lnp7' + `g7_8'*`lnp8' + `g7_9'*`lnp9' + `g7_10'*`lnp10' + ///
`g7_11'*`lnp11' + `g7_12'*`lnp12' + `g7_13'*`lnp13' + ///
`b7'*(`lnexp' - `lnpindex') + `l7'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z7_1'*`q1' + `z7_2'*`q2' + `z7_3'*`q3' + ///
`z7_4'*`sjevzap' + `z7_5'*`sredist' + ///
`z7_6'*`grad_' + `z7_7'*`prigrad_' + ///
`z7_8'*`logvelkuc' + `z7_9'*`dob' + ///
`z7_10'*`udjeca6' + `z7_11'*`udjeca6do13' + `z7_12'*`udjeca13do18' + ///
`z7_13'*`vlasnik_kred' + `z7_14'*`stanar_placa' + `z7_15'*`stanar_neplaca' + ///
`z7_16'*`obraz1' + `z7_17'*`obraz2' + `z7_18'*`obraz3' + `z7_19'*`obraz4' + `z7_20'*`obraz5'
replace `w8' = `a8' + `g8_1'*`lnp1' + `g8_2'*`lnp2' + `g8_3'*`lnp3' + `g8_4'*`lnp4' + `g8_5'*`lnp5' + ///
`g8_6'*`lnp6' + `g8_7'*`lnp7' + `g8_8'*`lnp8' + `g8_9'*`lnp9' + `g8_10'*`lnp10' + ///
`g8_11'*`lnp11' + `g8_12'*`lnp12' + `g8_13'*`lnp13' + ///
`b8'*(`lnexp' - `lnpindex') + `l8'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z8_1'*`q1' + `z8_2'*`q2' + `z8_3'*`q3' + ///
`z8_4'*`sjevzap' + `z8_5'*`sredist' + ///
`z8_6'*`grad_' + `z8_7'*`prigrad_' + ///
`z8_8'*`logvelkuc' + `z8_9'*`dob' + ///
`z8_10'*`udjeca6' + `z8_11'*`udjeca6do13' + `z8_12'*`udjeca13do18' + ///
`z8_13'*`vlasnik_kred' + `z8_14'*`stanar_placa' + `z8_15'*`stanar_neplaca' + ///
`z8_16'*`obraz1' + `z8_17'*`obraz2' + `z8_18'*`obraz3' + `z8_19'*`obraz4' + `z8_20'*`obraz5'
replace `w9' = `a9' + `g9_1'*`lnp1' + `g9_2'*`lnp2' + `g9_3'*`lnp3' + `g9_4'*`lnp4' + `g9_5'*`lnp5' + ///
`g9_6'*`lnp6' + `g9_7'*`lnp7' + `g9_8'*`lnp8' + `g9_9'*`lnp9' + `g9_10'*`lnp10' + ///
`g9_11'*`lnp11' + `g9_12'*`lnp12' + `g9_13'*`lnp13' + ///
`b9'*(`lnexp' - `lnpindex') + `l9'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z9_1'*`q1' + `z9_2'*`q2' + `z9_3'*`q3' + ///
`z9_4'*`sjevzap' + `z9_5'*`sredist' + ///
`z9_6'*`grad_' + `z9_7'*`prigrad_' + ///
`z9_8'*`logvelkuc' + `z9_9'*`dob' + ///
`z9_10'*`udjeca6' + `z9_11'*`udjeca6do13' + `z9_12'*`udjeca13do18' + ///
`z9_13'*`vlasnik_kred' + `z9_14'*`stanar_placa' + `z9_15'*`stanar_neplaca' + ///
`z9_16'*`obraz1' + `z9_17'*`obraz2' + `z9_18'*`obraz3' + `z9_19'*`obraz4' + `z9_20'*`obraz5'
replace `w10' = `a10' + `g10_1'*`lnp1' + `g10_2'*`lnp2' + `g10_3'*`lnp3' + `g10_4'*`lnp4' + `g10_5'*`lnp5' + ///
`g10_6'*`lnp6' + `g10_7'*`lnp7' + `g10_8'*`lnp8' + `g10_9'*`lnp9' + `g10_10'*`lnp10' + ///
`g10_11'*`lnp11' + `g10_12'*`lnp12' + `g10_13'*`lnp13' + ///
`b10'*(`lnexp' - `lnpindex') + `l10'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z10_1'*`q1' + `z10_2'*`q2' + `z10_3'*`q3' + ///
`z10_4'*`sjevzap' + `z10_5'*`sredist' + ///
`z10_6'*`grad_' + `z10_7'*`prigrad_' + ///
`z10_8'*`logvelkuc' + `z10_9'*`dob' + ///
`z10_10'*`udjeca6' + `z10_11'*`udjeca6do13' + `z10_12'*`udjeca13do18' + ///
`z10_13'*`vlasnik_kred' + `z10_14'*`stanar_placa' + `z10_15'*`stanar_neplaca' + ///
`z10_16'*`obraz1' + `z10_17'*`obraz2' + `z10_18'*`obraz3' + `z10_19'*`obraz4' + `z10_20'*`obraz5'
replace `w11' = `a11' + `g11_1'*`lnp1' + `g11_2'*`lnp2' + `g11_3'*`lnp3' + `g11_4'*`lnp4' + `g11_5'*`lnp5' + ///
`g11_6'*`lnp6' + `g11_7'*`lnp7' + `g11_8'*`lnp8' + `g11_9'*`lnp9' + `g11_10'*`lnp10' + ///
`g11_11'*`lnp11' + `g11_12'*`lnp12' + `g11_13'*`lnp13' + ///
`b11'*(`lnexp' - `lnpindex') + `l11'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z11_1'*`q1' + `z11_2'*`q2' + `z11_3'*`q3' + ///
`z11_4'*`sjevzap' + `z11_5'*`sredist' + ///
`z11_6'*`grad_' + `z11_7'*`prigrad_' + ///
`z11_8'*`logvelkuc' + `z11_9'*`dob' + ///
`z11_10'*`udjeca6' + `z11_11'*`udjeca6do13' + `z11_12'*`udjeca13do18' + ///
`z11_13'*`vlasnik_kred' + `z11_14'*`stanar_placa' + `z11_15'*`stanar_neplaca' + ///
`z11_16'*`obraz1' + `z11_17'*`obraz2' + `z11_18'*`obraz3' + `z11_19'*`obraz4' + `z11_20'*`obraz5'
replace `w12' = `a12' + `g12_1'*`lnp1' + `g12_2'*`lnp2' + `g12_3'*`lnp3' + `g12_4'*`lnp4' + `g12_5'*`lnp5' + ///
`g12_6'*`lnp6' + `g12_7'*`lnp7' + `g12_8'*`lnp8' + `g12_9'*`lnp9' + `g12_10'*`lnp10' + ///
`g12_11'*`lnp11' + `g12_12'*`lnp12' + `g12_13'*`lnp13' + ///
`b12'*(`lnexp' - `lnpindex') + `l12'/`bofp'*(`lnexp' - `lnpindex')^2 + ///
`z12_1'*`q1' + `z12_2'*`q2' + `z12_3'*`q3' + ///
`z12_4'*`sjevzap' + `z12_5'*`sredist' + ///
`z12_6'*`grad_' + `z12_7'*`prigrad_' + ///
`z12_8'*`logvelkuc' + `z12_9'*`dob' + ///
`z12_10'*`udjeca6' + `z12_11'*`udjeca6do13' + `z12_12'*`udjeca13do18' + ///
`z12_13'*`vlasnik_kred' + `z12_14'*`stanar_placa' + `z12_15'*`stanar_neplaca' + ///
`z12_16'*`obraz1' + `z12_17'*`obraz2' + `z12_18'*`obraz3' + `z12_19'*`obraz4' + `z12_20'*`obraz5'
}
end
--
Ivica Rubil
Ekonomski institut / The Institute of Economics, Zagreb
a. Trg J. F. Kennedyja 7, 10 000 Zagreb, Croatia
t. +385-1-2362-269
f. +385-1-2335-165
e. [email protected]
www.eizg.hr
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: 29. studeni 2011 11:28
To: '[email protected]'
Subject: RE: st: max number of variables in Stata IC/11.1
One possibility is that you may be using temporary variables to hold constants; if so, don't do that, but use -scalar-s or -local-s instead.
If the problem arises from code beyond your control, you may need Stata/SE or MP.
Nick
[email protected]
Maarten Buis
The error message refers to the dataset and not to the model. Many
estimation commands create temporary variables during the computation,
and if Stata runs into the maximum number of variables while executing
that command it will return that error message. In such a large model
the number of temporary variables can become quite large. If you also
have a dataset with many variables than it becomes even more easy to
run into this problem, even if you are not using those variables in
your model. In that case the easiest way to solve that is to drop
those unused variables.
On Tue, Nov 29, 2011 at 10:51 AM, Ivica Rubil <[email protected]> wrote:
> here's the problem: I'm trying to run -nlsur- with 12 equations, same 34
> regressors in each, and 354 coefficients to be estimated. When I run it,
> Stata returns the following error message:
>
> no room to add more variables
> An attempt was made to add a variable that would have resulted in
> more than 2048 or 2047 variables (Stata reserves one variable
> for its own use). You have the following alternatives:
>
> 1. Drop some variables; see help drop.
>
> 2. If you are using Stata/SE, increase maxvar; see help maxvar.
> r(900);
>
> I'm using Stata IC/11.1 which, as far as I'm aware, accepts more
> variables than I actually have (46 = 34 regressors + 12 dep. var.), plus
> I have compressed (-compress-) all of them.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/