Stata data file Log file (explained below) ASCII (text) file
|
|
- Georgia Holmes
- 6 years ago
- Views:
Transcription
1 Usng Stata Welcome to Stata, one of the most un-user frendly programs ever created. Although later versons have some features to make t easer to use, they more than make up for t by not beng 00% compatble wth prevous versons... and some even generate code through the "helpful" dalog boxes that cause errors. Ths tutoral s ntended to gve you the very basc tools needed to get thngs done n Stata. How ths document s organzed: Courer font s what you type or see n Stata. Thngs n [brackets] are optonal arguments. Blue text are reserved commands n Stata; the underlned part of the next s how you can abbrevate the command. Red text are Stata error messages. Fle extensons are lsted (e.g.,.do,.dta,.log) to let you know what Stata s expectng. Stata doesn't not requre the extensons to be used f the fle s of the type expected. How Stata Works Stata uses a combnaton of command-lne and menu-drven nputs along wth a very basc spreadsheet-style data edtor. There are several types of fles you can work wth n Stata, but the basc one s the Stata data set fle (.dta). Ths fle contans all your data as well as varable names. Extenson.dta.log.raw Fle Type Stata data fle Log fle (explaned below) ASCII (text) fle PgUp and PgDn buttons scroll through commands n the Revew wndow (.e., wrtes them n the Stata Command wndow for you) of 4
2 Data Sets You can vew the data Stata s workng wth by openng the data edtor or data browser. Both of these work smlar to a spreadsheet wth the varables lsted n columns. The only dfference s that the edtor lets you change values and the browser doesn't. If you nsst on usng the command lne, you can use the lst command. Although t's old school, lst could help fnd your problem areas when used n conjuncton wth f. For example: lst varname f varname > 5000 wll lst all observatons of the varable varname that are greater then The good thng s that each one has the observaton number. You can jot that down and look up the data ponts n the data edtor or you can go back to your orgnal data source to track down potental problems. Save Data save flename.dta [,*] nolabel - omts value labels; stll saves assocatons between varables and value label names (just not the labels themselves). replace - allows you to overwrte the exstng fle; prevents "fle flename.dta already exsts" error. orphans - saves all value labels, ncludng those not attached to any varables emptyok - allows you to save an empty data set to prevent "no varables defned" error. (Used for programmng.) ntercooled - makes Stata/SE save n Intercooled Stata format. Load Data (.dta Fles) use flename.dta [,*] clear - Stata wll not let you load a data fle f you already have a data n memory. Usng the clear opton removes any data from memory (even f t hasn't been saved) to allow you to load the data fle. Load Data (Other Sources) Formatted Text Fle - one observaton per lne; values are tab or comma delmted; can have varable names n the frst lne (optonal); f you don't nclude fle extenson,.raw s assumed. nsheet [varlst] usng flename.raw [,*] varlst - lst varables names separated by spaces (not commas) double - forces Stata to store varables as doubles (rather than floats) no[names] - nforms Stata whether varable names are ncluded; Stata wll fgure t out on ts own, but ths opton wll allow the fle to open faster comma - specfy comma delmted (not requred) tab - specfy tab delmted (not requred) 2 of 4
3 delmter("*") - specfy a dfferent delmter n the data (e.g., delmter(";")) clear - removes any data from memory (even f t hasn't been saved) to allow you to load the data fle. Examples: nsheet usng newdata nsheet usng newerdata.txt, clear nsheet usng werddata.txt, clear delmter("&") nsheet heght gender mom dad usng heghts.dat Log Fles These keep track of everythng that happens durng your Stata sesson by recordng everythng that appears n the Stata Results wndow (the one wth the black background). A log fle can be handy for trackng down errors when you're runnng a.do fle. If you specfy the.log extenson, the fle s saved n ASCII (text) format whch means the colors are not saved, but t's pretty easy to tell the dfference between your commands and Stata output because commands are preceded by a perod (.). There's a dfferent format for the Stata vewer, but t's not really any better than a text fle. There are also other optons for a log fle than aren't covered here, but ths secton should gve you all you need to know. The only trcky part s decdng where (or f) to turn the log fle on or off durng executon of your.do fle or Stata sesson. You don't really need to close the log fle to be able to read t. log usng flename.log [,*] log off log on log close replace - overwrtes current log fle append - adds ths sesson to the end of the log fle text Examples: log usng newlog.log, replace log usng "fle wth spaces.log" log close 3 of 4
4 Commands Stata commands are the thngs that get thngs done n Stata. They are how you tell Stata to do what t s you want done. Note: exp refers to any expresson, logcal or mathematcal; the type should be clear n the context; f exp s wrtten twce n a sngle lne, t does not mply that t s the same expresson. Expressons use the followng operators: Arthmetc Logcal Relatonal + addton ~ not > greater than - subtracton! not < less than * multplcaton or (shft \) >= > or equal / dvson & and <= < or equal ^ power == equal + strng concatenaton ~= not equal!= not equal Generate - creates a new varable based on exp generate [type] newvar[:lblname] = exp [f exp] type - specfes the varable type; f none s specfed, Stata wll automatcally select float for numerc data and str for text Examples: generate age2 = age*age generate bgnc = ncome>00000 & ncome!=. gen double untpr = cost/quantty gen byte bgnc = ncome>00000 & ncome!=. gen xlag = x[_n-] Lst - prnts data on the screen lst [varlst] [f exp] [, *] table - lsts varables vertcally, one observaton per row 4 of 4
5 dsplay - lsts observatons together; useful f there are a lot of varables to keep t from wrappng around the screen Replace - changes the contents of an exstng varable replace oldvar = expresson [f expresson] [, nopromote] oldvar - name of a varable that already exsts n the data set nopromote - prevents replace from promotng the varable type to accommodate the change (e.g., f you replace an nteger varable wth data contanng 3.4 and prevent the type to promote, you'll end up wth 3) Examples: replace ncome=. f ncome<=0 replace age = 25 n 007 Set Memory - specfes how much system memory you want to be dedcated to Stata ; Note: typng memory wthout set before t wll dsplay a report of Stata's memory usage set memory #[b k m g] [, permanently ] # - amount of memory to set; specfed n terms of bytes (b), klobytes (k), megabytes (m), or ggabytes (g) permanently - specfes that n addton to makng the change rght now, Stata wll remember the new lmt and use t n the future when you open Stata Examples: set memory 5m Set Type - specfes the default data type assgned to new varables (such as by generate) when the storage type s not explctly specfed set type * where * s ether a numerc storage type lsted here or a strng explaned below the table 5 of 4
6 Numerc Storage Type Bytes Mnmum Maxmum byte /- nt 2-32,767 32,740 +/- long 4-2,47,483,647 2,47,483,620 +/- Closets to 0 wthout beng 0 float *0^ *0^36 +/-0^-36 double *0^ *0^308 +/-0^-323 Precson for float s 3.795x0^-8 Precson for double s.44x0^-6 Character strngs are specfed by str#, where # gves the maxmum length of the strng (ranges from to 80). Each character reserved by a strng takes one byte regardless of the data stored n the strng (e.g., "t" stored n a varable of type str80, stll takes up 80 bytes). Summarze summarze [varlst] [f expresson] [, detal] varlst - lst of varables, separated by spaces (not commas); f you don't ndcate a varable lst, Stata wll summarze all the varables n the data set f expresson - allows you to specfy a subset of the data to be summarzed detal - standard summarze command lsts number of observatons, mean, standard devaton, mnmum and maxmum; specfyng detal adds, 5, 0, 5, 75, 90, 95, 99th percentles, varaton, skewness, and kurtoss Functons Functons are actually seres of embedded commands desgned to accomplsh a specfc task. They make workng wth Stata a lttle easer because you don't have to program them n yourself. Ths s just a subset of frequently used functons. You can get more functons by usng the onlne help n Stata and searchng for these. Type of functon Mathematcal Functons Probablty Functons Random Numbers Strng Functons Programmng Functons Date Functons Tme-seres Functons See help mathfun probfun random strfun progfun datefun tsfun 6 of 4
7 Matrx Functons matfcns Mathematcal Functons abs(x) exp(x) nt(x) ln(x) or log(x) log0(x) max(x,x2,...,xn) mn(x,x2,...,xn) round(x,y) sqrt(x) returns the absolute value of x returns the ex returns the nteger obtaned by truncated x towards zero returns the natural logarthm of x returns the base 0 logarthm of x returns the maxmum of x, x2,..., xn (mssng values are gnored) returns the mnmum of x, x2,..., xn (mssng values are gnored) returns x rounded off to unts of y returns the square root of x Probablty Functons bnomal(n,k,p) returns the probablty of k or more successes n n trals when the probablty of a success on a sngle tral s p ch2(n,x) returns the cumulatve ch-squared dstrbuton wth n degrees of freedom ch2tal(n,x) returns the reverse cumulatve (upper-tal) ch-squared dstrbuton wth n degrees of freedom; ch2tal(n,x) = - ch2(n,x) F(n,n2,f) returns the cumulatve F dstrbuton wth n numerator and n2 denomnator degrees of freedom Fden(n,n2,f) returns the probablty densty functon for the F dstrbuton wth n numerator and n2 denomnator degrees of freedom Ftal(n,n2,f) returns the reverse cumulatve (upper-tal) F dstrbuton wth n numerator and n2 denomnator degrees of freedom; Ftal(n,n2,f) = - F(n,n2,f) nvbnomal(n,k,p) returns the nverse bnomal: for P<=0.5, probablty p such that the probablty of observng k or more successes n n trals s P; for P>0.5, probablty p such that the probablty of observng k or fewer successes n n trals s -P. nvch2(n,p) returns the nverse of ch2(); f ch2(n,x) = p, then nvch2(n,p) = x nvf(n,n2,p) returns the nverse cumulatve F dstrbuton; f F(n,n2,f) = p, then nvf(n,n2,p) = f nvnorm(p) returns the nverse cumulatve standard normal dstrbuton; f norm(z) = p, then nvnorm(p) = z norm(z) returns the cumulatve standard normal dstrbuton normden(z) returns the standard normal densty normden(x,m,s) returns the normal densty wth mean m and standard devaton s; normden(x,m,s) = normden((x-m)/s)/s tden(n,t) returns the probablty densty functon of Student's t dstrbuton wth n > 0 degrees of freedom ttal(n,t) returns the reverse cumulatve (upper-tal) Student's t dstrbuton wth n > 0 degrees of freedom 7 of 4
8 Random Numbers unform() nvnorm(unform()) returns unformly dstrbuted pseudo-random numbers on the nterval [0,) returns normally dstrbuted random numbers wth mean zero and standard devaton one Strng Functons Programmng Data Functons Tme-seres Functons Matrx Functons set seed # unform() nvnorm(unform()) sum(x) sum(x!=.) 8 of 4
9 Regresson Basc Regresson regress depvar [varlst] [,*] depvar - name of dependent varable varlst - lst of ndependent varables, separated by spaces (not commas) level(#) - specfes the confdence level (e.g., 95) for confdence ntervals of the coeffcents noconstant - suppresses the constant (ntercept) term robust - uses the Whte Heteroskedastcty Consstent Covarance Estmator; results n hgher standard errors and lower t-ratos Examples: regress y x x2 reg heght gender mom dad, level(95) reg consumpton output, noconstant Usng Results Parameter Estmates - returns the estmated coeffcent for regressorname _b[regressorname] Predct - generates a new varable that stores the desgnated predcton based on the last regresson run by Stata predct newvarname [,statstc] Statstc: xb - ftted values; sample pont estmate; ths s the default so you don't need to nclude t resduals - resduals (dependent varable mnus ybar) rstandard - standardzed resduals stdp - standard error of each predcted value (.e., Stdev yˆ ) ) stdf - standard error of each forecasted value stdr - standard error of each resdual Varance - dsplays the varance-covarance matrx (.e., Var (ˆ) ) vce ( 9 of 4
10 Testng Lnear Hypotheses After Estmaton test coeflst - test that coeffcents are equal 0; lst coeffcents separated by spaces test exp = exp [=...] - test that lnear expressons are equal accumulate - adds test to prevous test(s) n memory makng a jont test Note: Ths performs the Wald Test... approxmated wth an F dstrbuton nstead of chsquare F-Test - to do a real F-test of m restrctons:. Run the unrestrcted regresson: y = x ˆ x ˆ x ˆ x ˆ k k uˆ β + 2 β β β + 2. Record SSR (just on paper f you want) 3. Run the restrcted regresson: ~ ~ ~ y = ~ x ~ xk k u~ β + + β + 4. generate F = ((RstctdSSR - UnrstctdSSR)/m)/(UnrstctdSSR/(N-k)) 5. Compare that to an F(2,N-k)... dsplay Ftal(m,N-k,F) Example - regress lwage educ huswage cty unem exper expersq Usng Wald Test: test uduc-expr = 0 test cty + unem = 0, accumulate Returns p-value Usng F-Test: generate edex = educ - exper generate ctun = cty + unem regress lwage edex huswage ctun expersq generate F = (( )/2)/(86.55/(428-7)) Returns p-value Advanced Regresson Technques beta - requests that normalzed beta coeffcents be reported nstead of confdence ntervals, f the orgnal model s y = xβ + x2β 2 + u, beta alters the model to be y y x x ~ x2 x2 ~ u~ ~ = β + β 2 +, where β = βstdev( x ) Stdev( y) Stdev( x ) Stdev( x ) 2 cluster [varname] - varname descrbes ID varable to allow correlaton between errors wthn a cluster 0 of 4
11 Heterskedastcty - here's a seres of commands to deal wth heteroskedastcty; assume only x2 and x3 are correlated to the error terms regress y x x2 x3 predct e, resduals generate e2 = e^2 regress e2 x2 x3 predct sgma2 Method - Transform Model generate newy = y/sqrt(sgma2) generate newx = x/sqrt(sgma2) etc. regress newy newx newx2 newx3 Method 2 - Weghts regress y x x2 x3 [weght = sgma2] generatng lagged varables - generate lagy = y[_n-] Regressors Correlated wth Error Terms - use nstrumental varable estmaton and the Hausman test vreg depvar [varlst] (varlst2 = varlst_v) [,*] varlst2 - lst of ndependent varables that are correlated wth the error term varlst_v - lst of nstrument varables used n place of the varables n varlst2 Other optons are same are regress command hushrs (husband hours) s probably a jont decson when decdng the wfe's hours (hours), so t's probably correlated wth the error term; suppose huseduc s known to be a good nstrument; test f huswage s also a good nstrument: vreg hours kdslt6 educ wage famne unem (hushrs = huseduc), robust hausman, save vreg hours kdslt6 educ wage famne unem (hushrs = huswage huseduc), robust hausman Seemngly Unrelated Regresson (SUR) - smultaneous equatons usng pooled data (.e., cross-secton data over tme that may not necessarly be from same source) sureg (depvar varlst [,noconstant]) (depvar2 varlst2)... noconstant - omts constant term for specfed equatons of 4
12 sure - terate over the estmated dsturbance covarance matrx and parameter estmates untl the parameter estmates converge; better fnte sample propertes dfk - use alternate dvsor n computng the covarance matrx for the equaton errors; better estmates for small samples small - specfes that small sample statstcs are to be computed; shfts test statstcs from ch-squared and Z statstcs to F statstcs and t-statstcs Examples: 3 smultaneous equatons: sureg (prce foregn weght length) (mpg foregn weght) (dspl foregn weght) Test f coeffcent for foregn s zero s all equatons: test foregn Test across equatons test [prce] foregn = [mpg] foregn Problem wth Heteroskedastcty or Seral Correlaton - Run smple OLS on stacked data (use n = mn( n n2 ) ; drop extra data) Create new varable to account for pars regress y x x2, cluster[d] robust Fxed Effect Regresson wth Panel Data - xtreg depvar [varlst], type (varname) Type s one of the followed dependng on whch estmaton technque s used: be - between-effects estmator: y = β 0 + x ' + u fe - fxed-effects estmator: ( y t y ) = ( x t x )' + ( ut u ) T T where y = y t, xm = x mt T t= T t= re - GLS random-effects estmator pa - GEE populaton-averaged estmator mle - maxmum-lkelhood random-effects estmator (varname) - specfes the varable correspondng to an ndependent unt (e.g., a subject d); ths varable represents the n x t (smlar to cluster) Output: Reports # Observatons, # Groups (ndvduals), mn, max and avg Obs/Group R-Sq... only care about overall... that's the one based on the orgnal model: N t = j= y β d + x ' + u 0 j jt t t F(##, ###) (above table) testng H 0 : β = 0 (.e., all parameters are zero)... ths s the standard F-test checkng all parameters smultaneously for a regresson n Const = ˆ β = ˆ β 0 0 N = 2 n d = 2 n 2 of 4
13 Corr(u_,xb) = Corr ˆ β, x ( o t effect model whch assumes E β x ) = 0 Sgma_u = standard devaton of u t Sgma_e = standard devaton of ˆβ ' ˆ )... ths s to check the assumpton of the random ( 0 t 0 F(##, ###) (below table) testng H 0 : Var( β 0 ) = 0 ;.e., whether ndvdual effect s correlated wth regressors (or all the same); numerator degrees of freedom s N + k; denomnator s NT - (N + k) (assumng same number of tme perods per ndvdual)... another way to thnk of ths test s a test on whether N - dummy varables are smultaneously equal to zero ( dummy s left out and captured wth the constant term n the regresson) 3 of 4
14 Programmng General Program Specfy Stata Verson - some commands and formats are specfc to the verson of Stata (so copyng someone else's code made not work n your verson of Stata). If the person wrote t n a prevous verson, you may be able to get away wth a smple command that allows the older code to work. Type the verson number you want to emulate at the begnnng of the fle: verson 8 Comments * Used at the begnnng of a lne; the lne s gnored. /* */ Used n the mddle of a lne; everythng between /* and */ s gnored. // Used at the begnnng or end of a lne (must be preceded by one or more blanks f at the end); everythng on the lne after // s gnored. /// Instructs Stata to vew from /// to the end of a lne as a comment, and to jon the next lne wth the current lne; must be preceded by one or more blanks; used make long lnes more readable. 4 of 4
y and the total sum of
Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton
More informationECONOMICS 452* -- Stata 11 Tutorial 6. Stata 11 Tutorial 6. TOPIC: Representing Multi-Category Categorical Variables with Dummy Variable Regressors
ECONOMICS * -- Stata 11 Tutoral Stata 11 Tutoral TOPIC: Representng Mult-Category Categorcal Varables wth Dummy Varable Regressors DATA: wage1_econ.dta (a Stata-format dataset) TASKS: Stata 11 Tutoral
More informationECONOMICS 452* -- Stata 12 Tutorial 6. Stata 12 Tutorial 6. TOPIC: Representing Multi-Category Categorical Variables with Dummy Variable Regressors
ECONOMICS 45* -- Stata 1 Tutoral 6 Stata 1 Tutoral 6 TOPIC: Representng Mult-Category Categorcal Varables wth Dummy Varable Regressors DATA: wage1_econ45.dta (a Stata-format dataset) TASKS: Stata 1 Tutoral
More informationProgramming in Fortran 90 : 2017/2018
Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values
More informationLife Tables (Times) Summary. Sample StatFolio: lifetable times.sgp
Lfe Tables (Tmes) Summary... 1 Data Input... 2 Analyss Summary... 3 Survval Functon... 5 Log Survval Functon... 6 Cumulatve Hazard Functon... 7 Percentles... 7 Group Comparsons... 8 Summary The Lfe Tables
More informationX- Chart Using ANOM Approach
ISSN 1684-8403 Journal of Statstcs Volume 17, 010, pp. 3-3 Abstract X- Chart Usng ANOM Approach Gullapall Chakravarth 1 and Chaluvad Venkateswara Rao Control lmts for ndvdual measurements (X) chart are
More informationExercises (Part 4) Introduction to R UCLA/CCPR. John Fox, February 2005
Exercses (Part 4) Introducton to R UCLA/CCPR John Fox, February 2005 1. A challengng problem: Iterated weghted least squares (IWLS) s a standard method of fttng generalzed lnear models to data. As descrbed
More informationSome Advanced SPC Tools 1. Cumulative Sum Control (Cusum) Chart For the data shown in Table 9-1, the x chart can be generated.
Some Advanced SP Tools 1. umulatve Sum ontrol (usum) hart For the data shown n Table 9-1, the x chart can be generated. However, the shft taken place at sample #21 s not apparent. 92 For ths set samples,
More informationS1 Note. Basis functions.
S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type
More informationSLAM Summer School 2006 Practical 2: SLAM using Monocular Vision
SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,
More informationLobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide
Lobachevsky State Unversty of Nzhn Novgorod Polyhedron Quck Start Gude Nzhn Novgorod 2016 Contents Specfcaton of Polyhedron software... 3 Theoretcal background... 4 1. Interface of Polyhedron... 6 1.1.
More informationSupport Vector Machines
/9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.
More informationCS 534: Computer Vision Model Fitting
CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust
More informationEmpirical Distributions of Parameter Estimates. in Binary Logistic Regression Using Bootstrap
Int. Journal of Math. Analyss, Vol. 8, 4, no. 5, 7-7 HIKARI Ltd, www.m-hkar.com http://dx.do.org/.988/jma.4.494 Emprcal Dstrbutons of Parameter Estmates n Bnary Logstc Regresson Usng Bootstrap Anwar Ftranto*
More informationRandom Variables and Probability Distributions
Random Varables and Probablty Dstrbutons Some Prelmnary Informaton Scales on Measurement IE231 - Lecture Notes 5 Mar 14, 2017 Nomnal scale: These are categorcal values that has no relatonshp of order or
More informationEconometrics 2. Panel Data Methods. Advanced Panel Data Methods I
Panel Data Methods Econometrcs 2 Advanced Panel Data Methods I Last tme: Panel data concepts and the two-perod case (13.3-4) Unobserved effects model: Tme-nvarant and dosyncratc effects Omted varables
More informationBrave New World Pseudocode Reference
Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be
More information11. HARMS How To: CSV Import
and Rsk System 11. How To: CSV Import Preparng the spreadsheet for CSV Import Refer to the spreadsheet template to ad algnng spreadsheet columns wth Data Felds. The spreadsheet s shown n the Appendx, an
More informationA Semi-parametric Regression Model to Estimate Variability of NO 2
Envronment and Polluton; Vol. 2, No. 1; 2013 ISSN 1927-0909 E-ISSN 1927-0917 Publshed by Canadan Center of Scence and Educaton A Sem-parametrc Regresson Model to Estmate Varablty of NO 2 Meczysław Szyszkowcz
More informationComplex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.
Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal
More informationStata 12/13 Tutorial 4
Stata /3 Tutoral 4 TOPIC: Condtonal and Margnal Effects of Contnuous Explanatory Varables n Lnear Regresson Models DATA: auto.dta (a Stata-format dataset frst created n Stata /3 Tutoral ) TASKS: Stata
More informationA DATA ANALYSIS CODE FOR MCNP MESH AND STANDARD TALLIES
Supercomputng n uclear Applcatons (M&C + SA 007) Monterey, Calforna, Aprl 15-19, 007, on CD-ROM, Amercan uclear Socety, LaGrange Par, IL (007) A DATA AALYSIS CODE FOR MCP MESH AD STADARD TALLIES Kenneth
More informationSynthesizer 1.0. User s Guide. A Varying Coefficient Meta. nalytic Tool. Z. Krizan Employing Microsoft Excel 2007
Syntheszer 1.0 A Varyng Coeffcent Meta Meta-Analytc nalytc Tool Employng Mcrosoft Excel 007.38.17.5 User s Gude Z. Krzan 009 Table of Contents 1. Introducton and Acknowledgments 3. Operatonal Functons
More informationParameter estimation for incomplete bivariate longitudinal data in clinical trials
Parameter estmaton for ncomplete bvarate longtudnal data n clncal trals Naum M. Khutoryansky Novo Nordsk Pharmaceutcals, Inc., Prnceton, NJ ABSTRACT Bvarate models are useful when analyzng longtudnal data
More informationNews. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example
Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt
More informationAgenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals
Agenda & Readng COMPSCI 8 SC Applcatons Programmng Programmng Fundamentals Control Flow Agenda: Decsonmakng statements: Smple If, Ifelse, nested felse, Select Case s Whle, DoWhle/Untl, For, For Each, Nested
More informationSimulation: Solving Dynamic Models ABE 5646 Week 11 Chapter 2, Spring 2010
Smulaton: Solvng Dynamc Models ABE 5646 Week Chapter 2, Sprng 200 Week Descrpton Readng Materal Mar 5- Mar 9 Evaluatng [Crop] Models Comparng a model wth data - Graphcal, errors - Measures of agreement
More informationWishing you all a Total Quality New Year!
Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma
More informationNGPM -- A NSGA-II Program in Matlab
Verson 1.4 LIN Song Aerospace Structural Dynamcs Research Laboratory College of Astronautcs, Northwestern Polytechncal Unversty, Chna Emal: lsssswc@163.com 2011-07-26 Contents Contents... 1. Introducton...
More informationA Fast Visual Tracking Algorithm Based on Circle Pixels Matching
A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng
More informationFor instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)
Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A
More informationCMPS 10 Introduction to Computer Science Lecture Notes
CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not
More informationIntro. Iterators. 1. Access
Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy
More informationEXST7034 Regression Techniques Geaghan Logistic regression Diagnostics Page 1
Logstc regresson Dagnostcs Page 1 1 **********************************************************; 2 *** Logstc Regresson - Dsease outbreak example ***; 3 *** NKNW table 14.3 (Appendx C3) ***; 4 *** Study
More informationThe Codesign Challenge
ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.
More informationHelp for Time-Resolved Analysis TRI2 version 2.4 P Barber,
Help for Tme-Resolved Analyss TRI2 verson 2.4 P Barber, 22.01.10 Introducton Tme-resolved Analyss (TRA) becomes avalable under the processng menu once you have loaded and selected an mage that contans
More informationNAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics
Introducton G10 NAG Fortran Lbrary Chapter Introducton G10 Smoothng n Statstcs Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Smoothng Methods... 2 2.2 Smoothng Splnes and Regresson
More information9. BASIC programming: Control and Repetition
Am: In ths lesson, you wll learn: H. 9. BASIC programmng: Control and Repetton Scenaro: Moz s showng how some nterestng patterns can be generated usng math. Jyot [after seeng the nterestng graphcs]: Usng
More informationCompiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz
Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster
More informationBiostatistics 615/815
The E-M Algorthm Bostatstcs 615/815 Lecture 17 Last Lecture: The Smplex Method General method for optmzaton Makes few assumptons about functon Crawls towards mnmum Some recommendatons Multple startng ponts
More informationUSING GRAPHING SKILLS
Name: BOLOGY: Date: _ Class: USNG GRAPHNG SKLLS NTRODUCTON: Recorded data can be plotted on a graph. A graph s a pctoral representaton of nformaton recorded n a data table. t s used to show a relatonshp
More informationParallelism for Nested Loops with Non-uniform and Flow Dependences
Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr
More informationLecture 5: Multilayer Perceptrons
Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented
More informationAnalysis of Continuous Beams in General
Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,
More informationSubspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;
Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features
More informationCS1100 Introduction to Programming
Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact
More informationComputer models of motion: Iterative calculations
Computer models o moton: Iteratve calculatons OBJECTIVES In ths actvty you wll learn how to: Create 3D box objects Update the poston o an object teratvely (repeatedly) to anmate ts moton Update the momentum
More informationSteps for Computing the Dissimilarity, Entropy, Herfindahl-Hirschman and. Accessibility (Gravity with Competition) Indices
Steps for Computng the Dssmlarty, Entropy, Herfndahl-Hrschman and Accessblty (Gravty wth Competton) Indces I. Dssmlarty Index Measurement: The followng formula can be used to measure the evenness between
More informationA Bootstrap Approach to Robust Regression
Internatonal Journal of Appled Scence and Technology Vol. No. 9; November A Bootstrap Approach to Robust Regresson Dr. Hamadu Dallah Department of Actuaral Scence and Insurance Unversty of Lagos Akoka,
More informationAssignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.
Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton
More informationLecture 5: Probability Distributions. Random Variables
Lecture 5: Probablty Dstrbutons Random Varables Probablty Dstrbutons Dscrete Random Varables Contnuous Random Varables and ther Dstrbutons Dscrete Jont Dstrbutons Contnuous Jont Dstrbutons Independent
More informationAir Transport Demand. Ta-Hui Yang Associate Professor Department of Logistics Management National Kaohsiung First Univ. of Sci. & Tech.
Ar Transport Demand Ta-Hu Yang Assocate Professor Department of Logstcs Management Natonal Kaohsung Frst Unv. of Sc. & Tech. 1 Ar Transport Demand Demand for ar transport between two ctes or two regons
More informationAnalysis of Malaysian Wind Direction Data Using ORIANA
Modern Appled Scence March, 29 Analyss of Malaysan Wnd Drecton Data Usng ORIANA St Fatmah Hassan (Correspondng author) Centre for Foundaton Studes n Scence Unversty of Malaya, 63 Kuala Lumpur, Malaysa
More informationHermite Splines in Lie Groups as Products of Geodesics
Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the
More informationA New Approach For the Ranking of Fuzzy Sets With Different Heights
New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays
More informationPerformance Evaluation of Information Retrieval Systems
Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence
More informationOracle Database: SQL and PL/SQL Fundamentals Certification Course
Oracle Database: SQL and PL/SQL Fundamentals Certfcaton Course 1 Duraton: 5 Days (30 hours) What you wll learn: Ths Oracle Database: SQL and PL/SQL Fundamentals tranng delvers the fundamentals of SQL and
More informationELEC 377 Operating Systems. Week 6 Class 3
ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems
More informationNonlinear Mixed Model Methods and Prediction Procedures Demonstrated on a Volume-Age Model
Nonlnear Mxed Model Methods and Predcton Procedures Demonstrated on a Volume-Age Model Prepared by: Shongmng Huang, Shawn X. Meng, Yuqng Yang August, 3 Techncal Report Pub. No.: T/6(3) ISBN No. 978--46-755-3
More informationDAD: DISTRIBUTIVE ANALYSIS / ANALYSE DISTRIBUTIVE
DAD: DISTRIBUTIVE ANALYSIS / ANALYSE DISTRIBUTIVE USER S MANUAL Jean-Yves Duclos Abdelrm Araar Carl Fortn : jyves@ecn.ulaval.ca : aabd@ecn.ulaval.ca : cfortn@ecn.ulaval.ca Unversté Laval Introducton DAD
More informationOutline. Midterm Review. Declaring Variables. Main Variable Data Types. Symbolic Constants. Arithmetic Operators. Midterm Review March 24, 2014
Mdterm Revew March 4, 4 Mdterm Revew Larry Caretto Mechancal Engneerng 9 Numercal Analyss of Engneerng Systems March 4, 4 Outlne VBA and MATLAB codng Varable types Control structures (Loopng and Choce)
More informationGWR 3 Software for Geographically Weighted Regression
GWR 3 Software for Geographcally Weghted Regresson Martn Charlton Stewart Fotherngham Chrs Brunsdon Spatal Analyss Research Group Department of Geography Unversty of Newcastle upon Tyne Newcastle upon
More informationCluster Analysis of Electrical Behavior
Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School
More informationLecture 4: Principal components
/3/6 Lecture 4: Prncpal components 3..6 Multvarate lnear regresson MLR s optmal for the estmaton data...but poor for handlng collnear data Covarance matrx s not nvertble (large condton number) Robustness
More informationThe BGLR (Bayesian Generalized Linear Regression) R- Package. Gustavo de los Campos, Amit Pataki & Paulino Pérez. (August- 2013)
Bostatstcs Department Bayesan Generalzed Lnear Regresson (BGLR) The BGLR (Bayesan Generalzed Lnear Regresson) R- Package By Gustavo de los Campos, Amt Patak & Paulno Pérez (August- 03) (contact: gdeloscampos@gmal.com
More informationAADL : about scheduling analysis
AADL : about schedulng analyss Schedulng analyss, what s t? Embedded real-tme crtcal systems have temporal constrants to meet (e.g. deadlne). Many systems are bult wth operatng systems provdng multtaskng
More informationAMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain
AMath 483/583 Lecture 21 May 13, 2011 Today: OpenMP and MPI versons of Jacob teraton Gauss-Sedel and SOR teratve methods Next week: More MPI Debuggng and totalvew GPU computng Read: Class notes and references
More informationVariance estimation in EU-SILC survey
Varance estmaton n EU-SILC survey Mārtņš Lberts* * Mathematcal Support Dvson, Central Statstcal Bureau of Latva (Martns.Lberts@csb.gov.lv) bstract: The mplementaton of varance estmaton methods resamplng
More informationAn Optimal Algorithm for Prufer Codes *
J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,
More informationVRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) ,
VRT012 User s gude V0.1 Thank you for purchasng our product. We hope ths user-frendly devce wll be helpful n realsng your deas and brngng comfort to your lfe. Please take few mnutes to read ths manual
More informationLecture #15 Lecture Notes
Lecture #15 Lecture Notes The ocean water column s very much a 3-D spatal entt and we need to represent that structure n an economcal way to deal wth t n calculatons. We wll dscuss one way to do so, emprcal
More informationMathematics 256 a course in differential equations for engineering students
Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the
More informationProblem Definitions and Evaluation Criteria for Computational Expensive Optimization
Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty
More informationCHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar
CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vdyanagar Faculty Name: Am D. Trved Class: SYBCA Subject: US03CBCA03 (Advanced Data & Fle Structure) *UNIT 1 (ARRAYS AND TREES) **INTRODUCTION TO ARRAYS If we want
More information3D vector computer graphics
3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres
More informationAn Entropy-Based Approach to Integrated Information Needs Assessment
Dstrbuton Statement A: Approved for publc release; dstrbuton s unlmted. An Entropy-Based Approach to ntegrated nformaton Needs Assessment June 8, 2004 Wllam J. Farrell Lockheed Martn Advanced Technology
More informationHarvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)
Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst
More informationLoop Transformations, Dependences, and Parallelization
Loop Transformatons, Dependences, and Parallelzaton Announcements Mdterm s Frday from 3-4:15 n ths room Today Semester long project Data dependence recap Parallelsm and storage tradeoff Scalar expanson
More informationAssembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.
IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language
More informationAssembler. Building a Modern Computer From First Principles.
Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought
More informationA Binarization Algorithm specialized on Document Images and Photos
A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a
More informationMotivation. EE 457 Unit 4. Throughput vs. Latency. Performance Depends on View Point?! Computer System Performance. An individual user wants to:
4.1 4.2 Motvaton EE 457 Unt 4 Computer System Performance An ndvdual user wants to: Mnmze sngle program executon tme A datacenter owner wants to: Maxmze number of Mnmze ( ) http://e-tellgentnternetmarketng.com/webste/frustrated-computer-user-2/
More informationMachine Learning: Algorithms and Applications
14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of
More informationNotes on Organizing Java Code: Packages, Visibility, and Scope
Notes on Organzng Java Code: Packages, Vsblty, and Scope CS 112 Wayne Snyder Java programmng n large measure s a process of defnng enttes (.e., packages, classes, methods, or felds) by name and then usng
More informationFEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur
FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents
More informationThree supervised learning methods on pen digits character recognition dataset
Three supervsed learnng methods on pen dgts character recognton dataset Chrs Flezach Department of Computer Scence and Engneerng Unversty of Calforna, San Dego San Dego, CA 92093 cflezac@cs.ucsd.edu Satoru
More informationEstimating Regression Coefficients using Weighted Bootstrap with Probability
Norazan M R, Habshah Md, A H M R Imon Estmatng Regresson Coeffcents usng Weghted Bootstrap wth Probablty NORAZAN M R, HABSHAH MIDI AND A H M R IMON Faculty of Computer and Mathematcal Scences, Unversty
More informationOptimizing Document Scoring for Query Retrieval
Optmzng Document Scorng for Query Retreval Brent Ellwen baellwe@cs.stanford.edu Abstract The goal of ths project was to automate the process of tunng a document query engne. Specfcally, I used machne learnng
More informationOutlier Detection based on Robust Parameter Estimates
Outler Detecton based on Robust Parameter Estmates Nor Azlda Aleng 1, Ny Ny Nang, Norzan Mohamed 3 and Kasyp Mokhtar 4 1,3 School of Informatcs and Appled Mathematcs, Unverst Malaysa Terengganu, 1030 Kuala
More informationUser Authentication Based On Behavioral Mouse Dynamics Biometrics
User Authentcaton Based On Behavoral Mouse Dynamcs Bometrcs Chee-Hyung Yoon Danel Donghyun Km Department of Computer Scence Department of Computer Scence Stanford Unversty Stanford Unversty Stanford, CA
More informationA Simple and Efficient Goal Programming Model for Computing of Fuzzy Linear Regression Parameters with Considering Outliers
62626262621 Journal of Uncertan Systems Vol.5, No.1, pp.62-71, 211 Onlne at: www.us.org.u A Smple and Effcent Goal Programmng Model for Computng of Fuzzy Lnear Regresson Parameters wth Consderng Outlers
More informationA Statistical Model Selection Strategy Applied to Neural Networks
A Statstcal Model Selecton Strategy Appled to Neural Networks Joaquín Pzarro Elsa Guerrero Pedro L. Galndo joaqun.pzarro@uca.es elsa.guerrero@uca.es pedro.galndo@uca.es Dpto Lenguajes y Sstemas Informátcos
More informationProblem Set 3 Solutions
Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,
More informationMATHEMATICS FORM ONE SCHEME OF WORK 2004
MATHEMATICS FORM ONE SCHEME OF WORK 2004 WEEK TOPICS/SUBTOPICS LEARNING OBJECTIVES LEARNING OUTCOMES VALUES CREATIVE & CRITICAL THINKING 1 WHOLE NUMBER Students wll be able to: GENERICS 1 1.1 Concept of
More informationTN348: Openlab Module - Colocalization
TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages
More informationThe Man-hour Estimation Models & Its Comparison of Interim Products Assembly for Shipbuilding
Internatonal Journal of Operatons Research Internatonal Journal of Operatons Research Vol., No., 9 4 (005) The Man-hour Estmaton Models & Its Comparson of Interm Products Assembly for Shpbuldng Bn Lu and
More informationThis module is part of the. Memobust Handbook. on Methodology of Modern Business Statistics
Ths module s part of the Memobust Handbook on Methodology of Modern Busness Statstcs 26 March 2014 Theme: Donor Imputaton Contents General secton... 3 1. Summary... 3 2. General descrpton... 3 2.1 Introducton
More informationTHE THEORY OF REGIONALIZED VARIABLES
CHAPTER 4 THE THEORY OF REGIONALIZED VARIABLES 4.1 Introducton It s ponted out by Armstrong (1998 : 16) that Matheron (1963b), realzng the sgnfcance of the spatal aspect of geostatstcal data, coned the
More informationSome material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier
Some materal adapted from Mohamed Youns, UMBC CMSC 611 Spr 2003 course sldes Some materal adapted from Hennessy & Patterson / 2003 Elsever Scence Performance = 1 Executon tme Speedup = Performance (B)
More informationMultiblock method for database generation in finite element programs
Proc. of the 9th WSEAS Int. Conf. on Mathematcal Methods and Computatonal Technques n Electrcal Engneerng, Arcachon, October 13-15, 2007 53 Multblock method for database generaton n fnte element programs
More information