Advertisement
Guest User

Untitled

a guest
Oct 25th, 2015
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SCL 4.94 KB | None | 0 0
  1. {smcl}
  2. {com}{sf}{ul off}{txt}{.-}
  3.       name:  {res}<unnamed>
  4.        {txt}log:  {res}C:\Users\raf60_000\Documents\QMB 5xxx\logexam1.smcl
  5.   {txt}log TYPE:  {res}smcl
  6.  {txt}opened on:  {res}25 Oct 2015, 04:03:06
  7.  
  8. {com}. clear
  9.  
  10. .
  11. . import delimited "C:\Users\raf60_000\Documents\QMB 5xxx\enplanement+data.csv"
  12. {res}{text}(4 vars, 152 obs)
  13. {com}.
  14. . summarize enp
  15.  
  16. {txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
  17. {hline 13}{c +}{hline 56}
  18. {space 9}enp {c |}{res}       152    363080.6    509126.3       3256    3634204
  19.  
  20. {com}.
  21. . summarize enp
  22.  
  23. {txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
  24. {hline 13}{c +}{hline 56}
  25. {space 9}enp {c |}{res}       152    363080.6    509126.3       3256    3634204
  26.  
  27. {com}.
  28. . summarize enp pop dist pci
  29.  
  30. {txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
  31. {hline 13}{c +}{hline 56}
  32. {space 9}enp {c |}{res}       152    363080.6    509126.3       3256    3634204
  33. {txt}{space 9}pop {c |}{res}       152    313529.5    185114.3      92548     848350
  34. {txt}{space 8}dist {c |}{res}       152    189.2251    198.9557   39.53834   2310.811
  35. {txt}{space 9}pci {c |}{res}       152    35440.39     9877.73      15583     100178
  36.  
  37. {com}.
  38. . correlate enp pop dist pci
  39. {txt}(obs=152)
  40.  
  41.              {c |}      enp      pop     dist      pci
  42. {hline 13}{c +}{hline 36}
  43.          enp {c |}{res}   1.0000
  44.          {txt}pop {c |}{res}   0.5060   1.0000
  45.         {txt}dist {c |}{res}   0.3769   0.0300   1.0000
  46.          {txt}pci {c |}{res}   0.2532   0.1018   0.3202   1.0000
  47.  
  48.  
  49. {com}.
  50. . hist enp
  51. {txt}(bin={res}12{txt}, START={res}3256{txt}, width={res}302579{txt})
  52. {res}
  53. {com}.
  54. . hist enp
  55. {txt}(bin={res}12{txt}, START={res}3256{txt}, width={res}302579{txt})
  56. {res}
  57. {com}.
  58. . histogram pop
  59. {txt}(bin={res}12{txt}, START={res}92548{txt}, width={res}62983.5{txt})
  60. {res}
  61. {com}.
  62. . hist dist
  63. {txt}(bin={res}12{txt}, START={res}39.538342{txt}, width={res}189.27272{txt})
  64. {res}
  65. {com}.
  66. . hist pci
  67. {txt}(bin={res}12{txt}, START={res}15583{txt}, width={res}7049.5833{txt})
  68. {res}
  69. {com}.
  70. . twoway (scatter enp pop [aweight = pop])
  71. {res}
  72. {com}.
  73. . twoway (scatter enp pop [aweight = pop], msymbol(circle))
  74. {res}
  75. {com}.
  76. . twoway (scatter enp pop [aweight = pop], msymbol(x))
  77. {res}
  78. {com}.
  79. . twoway (scatter enp pop [aweight = pop], msymbol(circle_hollow))
  80. {res}
  81. {com}.
  82. . twoway (scatter enp pop [aweight = pop], msymbol(circle_hollow))
  83. {res}
  84. {com}.
  85. . twoway (scatter enp pop, msymbol(circle_hollow))
  86. {res}
  87. {com}.
  88. . twoway (scatter enp pop)
  89. {res}
  90. {com}.
  91. . twoway (scatter enp pop)
  92. {res}
  93. {com}.
  94. . twoway (scatter enp pop)
  95. {res}
  96. {com}.
  97. . twoway (scatter enp dist [aweight = pop], msymbol(circle_hollow))
  98. {res}
  99. {com}.
  100. . twoway (scatter enp dist)
  101. {res}
  102. {com}.
  103. . twoway (scatter enp pci [aweight = pop], msymbol(circle_hollow))
  104. {res}
  105. {com}.
  106. . twoway (scatter enp pci)
  107. {res}
  108. {com}.
  109. . twoway (scatter enp pci), yscale(log) xscale(log)
  110. {res}
  111. {com}.
  112. . generate lnenp = ln(enp)
  113.  
  114. .
  115. . gen lnpci = ln(pci)
  116.  
  117. .
  118. . twoway (scatter lnenp lnpci), yscale(log) xscale(log)
  119. {res}
  120. {com}.
  121. . twoway (scatter enp pci), yscale(log) xscale(log)
  122. {res}
  123. {com}.
  124. . twoway (scatter enp pci), yscale(log) ylabel(, labsize(minuscule)) xscale(log)
  125. {res}
  126. {com}.
  127. . twoway (scatter enp pci), yscale(log) ylabel(, labsize(small)) xscale(log)
  128. {res}
  129. {com}.
  130. . twoway (scatter enp pci), yscale(log) ylabel(, format(%9.0e)) xscale(log)
  131. {res}
  132. {com}.
  133. . twoway (scatter enp pci), yscale(log) ylabel(, format(%3.0e)) xscale(log)
  134. {res}
  135. {com}.
  136. . twoway (scatter enp pci), yscale(log) ylabel(, labsize(tiny) format(%3.0e)) xscale(log)
  137. {res}
  138. {com}.
  139. . twoway (scatter enp pci), yscale(log) ylabel(, labsize(tiny) angle(horizontal) format(%3.0e)) xscale(log)
  140. {res}
  141. {com}.
  142. . twoway (scatter enp pci), yscale(log) ylabel(, labsize(small) angle(horizontal) format(%3.0e)) xscale(log)
  143. {res}
  144. {com}.
  145. . twoway (scatter enp pci [aweight = pop], msymbol(circle_hollow)), yscale(log) xscale(log)
  146. {res}
  147. {com}.
  148. . twoway (scatter enp pci), yscale(log) xscale(log)
  149. {res}
  150. {com}.
  151. . twoway (scatter enp pop), yscale(log) ylabel(, labsize(small) angle(horizontal) format(%3.0e)) xscale(log)
  152. {res}
  153. {com}.
  154. . twoway (scatter enp pop [aweight = pop], msymbol(circle_hollow)), yscale(log) ylabel(, labsize(small) angle(horizontal) format(%3.0e)) xscale(log)
  155. {res}
  156. {com}.
  157. . twoway (scatter enp dist [aweight = pop], msymbol(circle_hollow)), yscale(log) ylabel(, labsize(small) angle(horizontal) format(%3.0e)) xscale(log)
  158. {res}
  159. {com}.
  160. . twoway (scatter enp dist [aweight = pop], msymbol(circle_hollow)), yscale(log) ylabel(, labsize(small) angle(horizontal) format(%3.0e)) xscale(log) xlabel(, angle(vertical))
  161. {res}
  162. {com}. log close
  163.       {txt}name:  {res}<unnamed>
  164.        {txt}log:  {res}C:\Users\raf60_000\Documents\QMB 5xxx\logexam1.smcl
  165.   {txt}log TYPE:  {res}smcl
  166.  {txt}closed on:  {res}25 Oct 2015, 04:03:41
  167. {txt}{.-}
  168. {smcl}
  169. {txt}{sf}{ul off}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement