Tuesday February 28 15:30:20 2017

Page 1

®

Statistics/Data Analysis

name: log: log type: opened on:

U:\NON_PROJECT_DATA\Jing\stan_022817_v4.smcl smcl 28 Feb 2017, 15:30:10

1 . /* Version 4: specify the model inline, so it is written to the > text file of your choosing but everything is controlled from the do-file > (the Charles Opondo method) */ 2 . 3 . // make the data 4 . set more off 5 . clear all 6 . set obs 10 number of observations (_N) was 0, now 10 7 . gen y=0 8 . replace y=1 in 2 (1 real change made) 9 . replace y=1 in 10 (1 real change made) 10. count 10 11. global N=r(N) 12. 13. global cmdstandir "C:\Users\jdong\Documents\cmdstan-2.14.0\examples\bernoulli" 14. // write the model from Stata into a plain text file 15. tempname writemodel 16. file open `writemodel' using "mystanmodel.stan", write replace 17. #delimit ; delimiter now ; 18. foreach line in > "data { " > " int N; " > " int y[N];" > "} " > "parameters {" > " real theta;" > "} " > "model {" > " theta ~ beta(1,1);" > " for (n in 1:N) " > " y[n] ~ bernoulli(theta);" > "}" > {; 2. #delimit cr delimiter now cr 19. file write `writemodel' "`line'" _n 3. }

Tuesday February 28 15:30:21 2017

Page 2

20. file close `writemodel' 21. 22. // call Stan 23. stan y, modelfile("mystanmodel.stan") cmd("$cmdstandir") globals("N") load mode StataStan version: 1.2.2 CmdStan version: file C:\Users\jdong\AppData\Local\Temp\25\ST_00000001.tmp not found r(601); end of do-file r(601); 24. do "C:\Users\jdong\AppData\Local\Temp\25\STD00000000.tmp" 25. log close name: log: log type: closed on:

U:\NON_PROJECT_DATA\Jing\stan_022817_v4.smcl smcl 28 Feb 2017, 15:30:20

Tuesday February 28 15:30:20 2017 Page 1 name: log: U ...

Feb 28, 2017 - Tuesday February 28 15:30:20 2017 Page 1. ®. Statistics/Data ... opened on: 28 Feb 2017, 15:30:10. 1 . ... 7 . gen y=0. 8 . replace y=1 in 2.

106KB Sizes 0 Downloads 191 Views

Recommend Documents

Distance Tuesday, 2017/03/28 - GitHub
Mar 28, 2017 - fore we go off exploring.” ... She stood, turned, and walked out of the funny room with ... the door to the garden as rays of sunset lit her flowers.

Page 1 Macintosh HD:XmotiveHarness: src; Motive.c Tuesday ...
Tuesday, January 28, 1997 / 9:25 AM. // Motive.c -WRW 1/23/97. #include "SRand.h". #include "utilities.h" void SimNotives(int count); void ChangeMotive(int ...

Page 1 noname U+0000 (0) Space U+0020 (32) exclam U+0021 ...
MU plus minus. U+00b1 (177). twoSuperior. U+00b2 (178) threesuperior. U+00b3 (179) acute. U+00b4 (180). U+00b5 (181) paragraph. U+00b6 (182).

U | U 1
Applications: 5,388,413 A ... air inside an enclosed area communicating With the device. 415561180 A 12 ... and Development Division, FAA William J. Hughes Tech ..... mobile fuel tanks, sea tankers and cargo ships, underground fuel tanks at ...

February 28, Newsletter.pdf
... keep your children safe from on-line. bullying, harassment, sexting, and predators. Mr. Driscoll, a former law-enforcement officer, provided some eye-opening infor- mation about the many ways your children are vulnerable to on-line abuse. In. par

February 28, 2015
Agency Bullets. 2%. Certificates of Deposit. 9%. Bank .... ce & So a so Messao'ee Ness so eosis&eosy Seo. pRolling One Year Treasury asseWeighted Average ...

Law Enforcement Committee Meeting Minutes of February 28, 2017 ...
Law Enforcement Committee Meeting Minutes of February 28, 2017.pdf. Law Enforcement Committee Meeting Minutes of February 28, 2017.pdf. Open. Extract.

Interim results 6 months to 28 February 2017 - WHSmith PLC
Apr 12, 2017 - The distinct strategies of our Travel and High Street businesses have been ... buyback announced on 13 October 2016 and the declared interim ...... additional useful information on the underlying trends, performance and ...

NSE/CML/ 34284 Date : February 28, 2017 Circula
Feb 28, 2017 - Sub: Listing of units issued by HDFC Asset Management Company Limited (HDFC ... Computer Age Management Services Private Limited.

NSE/CML/ 34284 Date : February 28, 2017 Circula
Feb 28, 2017 - Sub: Listing of units issued by HDFC Asset Management Company Limited (HDFC FMP ... Regulations Part A, it is hereby notified that the list of securities further admitted to dealings on ... Email: [email protected].

City Council Meeting – February 28, 2017 1438th REGULAR ...
CALL TO ORDER. 2. PLEDGE OF ALLEGIANCE. 3. ROLL CALL OF COUNCIL. 4. APPROVAL OF ... Center Driving Course and Skills Pad. [620-AG]. 8. PUBLIC ...

NSE/CML/ 34284 Date : February 28, 2017 Circula
Feb 28, 2017 - the designated security codes thereof shall be as specified in Annexure. ... Annexure. 1. HDFC Asset Management Company Limited. Name of.

February 28, 2014
Feb 28, 2014 - Valley View Consulting, L.L.C. did not provide investment advice on all ... Financial institution deposit yields generally provide the best interest ...

Interim results 6 months to 28 February 2017 - WHSmith PLC
Apr 12, 2017 - “In our growing international business, we have now won 255 stores ..... Following further investment in the website and apps we have seen ...

NSE/CML/34285 Date : February 28, 2017 Circular
Feb 28, 2017 - Limited, Rolta India Limited, Strides Shasun Limited, Tanla Solutions Limited, Themis. Medicare Limited ... Name of the Company. Aditya Birla ...

NSE/CML/34285 Date : February 28, 2017 Circular
Feb 28, 2017 - Regulations Part A, it is hereby notified that the list of securities further admitted to dealings on the National ... Fortis Healthcare Limited. Symbol.

Page 1 u CCI 2014 AWARD NOMINATION FORM Nominee ...
CCI Awards Committee / Colorado Counties, Inc. / 800 Grant Street, Suite 500 / Denver, CO 80203 ... Provides Commissioner level support and leadership on the Larimer County Office on .... 10/21/2014 TUE 16:00 TX/RX NO 9593 l (2002 ...

BSPS log February 2015.pdf
Page 1 of 11. Official Publication of and Published Monthly by. Beaufort Sail & Power Squadron, Beaufort, SC. a unit of District 26, United States Power Squadrons®. Website: www.usps.org/beaufort. Beaufor t Log. the. Volume LV Number 1 Jan-Feb 22015

Page 1 AND DRUGDESIGNING: U V APRACTICAL APPROACH ...
Docking, ADMET screening and Structure-based drug design. The workshop focuses on to make learn the technology of drug discovery from basics till the end. We all know that we learn by doing the things. Hence the workshop program is designed in such a

February 2017 Breakfast & Lunch Forestview (1) (1) (1).pdf ...
Page 1 of 60. Brainerd Schools. Breakfast Menu Gr.K-12. (Menu Subject to Change). February 2017. Monday Tuesday Wednesday Thursday Friday. 1. Breakfast Sausage. Pizza. Mandarin Oranges. Juice. Milk. 2 Groundhog Day! Cinnamon Roll. String Cheese. Dice

February 3, 2017 (1).pdf
Proseeds: visit www.proseeds.com to sign up to link your debit/credit card to donate 5% of your purchase. (at select retailers) to Cottonwood. Box Tops: collect ...

2016 02 28 Newsletter February 28 2016.pdf
Fr. Michael McGowan PC. 7 St. Patrick's Crescent,. Rathcoole Tel: 4589210. Parish Pastoral Worker. Ms. Breda Carroll. c/o 01-4589209. Parish Secretary.

NSE/FAOP/37074 Date : February 28
Feb 28, 2018 - DEPARTMENT : FUTURES & OPTIONS. Download Ref No ... faoftp/faocommon before trading on March 01, 2018. Details of quantity freeze in ...

26 - 28 February, 2015 -
conglomerate of 25 colleges and 100 courses and more than 28000 students. .... Advances in Heat Transfer, RAC, IC Engine & Automotive. Technology, Fluid ...