ADVERTISEMENT



Google       

Home -> Law Blog Directory -> Law Students Blogs -> Law and Letters

OR PHONE (866) 635-1838 for Bankruptcy Help, (866) 635-6190 for Divorce,
(866) 635-2689 for Personal Injury or (866) 635-9402 for Criminal Defense

Find a Local Lawyer

Bankruptcy (866) 635-1838
Divorce (866) 635-6190
Personal Injury (866) 635-2689
Criminal Defense (866) 635-9402

Bookmark

Law Students

: Law and Letters

Stupid Monkey Commands

ADVERTISEMENTS
In which I finally sort of start understanding how to do basic commands in STATA:

My task:

1. Figure out the path to the sampledataset.dta file
2. Compute the Mean and Standard Deviation of the sample_variable
3. Figure out how many standard deviation units below the mean the figure 19 is
4. Use command "normal" to compute the answer

How this translates to STATA:

clear

capture log closelog using sampledataset, text replace
use sampledataset

summarize sample_variable
local SDunits=(19-r(mean))/r(sd)

display normal(`SDunits')
display `SDunits'

log close


This is so lame.

To think, I might pimp out my doctrinal analysis skills to code cases into variables for my stats teacher this semester.

Full post as published by Law and Letters on January 24, 2008 (boomark / email).

Bloggers, promote your law blog by nominating your blog for inclusion in USLaw.com's Law Blog Directory and RSS Reader. Benefits described.
Related Law Articles

Related Searches

























































































































US Law
#1 Online Legal Resource













Your Blog Subscriptions
Subscribe to blogs

10,000+ Law Job Listings
Lawyer . Police . Paralegal . Etc
Earn a law-related degree
Are you the author of this blog? Adding USLaw.com to your Blogroll increases relevance. You qualify to display a USLaw Network badge.
Suggest changes to this blog's description or nominate another for inclusion. Register for updates.


Practice Area
Zip Code:

Contact a Lawyer Now!






0.0022 secs (from cache 10/31/26 06:38:37)