Difference between revisions of "Applications/Stata"

From HPC
Jump to: navigation , search
m
(Application Details)
Line 2: Line 2:
 
== Application Details ==
 
== Application Details ==
  
* Description : Stata is a commercial statistical package, which provides a complete solution for data analysis, data management, and graphics.  Stata version 14 is available in the multi-threaded package variant Stata/MP.
+
* Description : Stata is a commercial statistical package, which provides a complete solution for data analysis, data management, and graphics.   
* Versions : 14.1.0
+
* Versions : Stata/SE 14.1.0  
* Module names : stata/14.1.0
+
* Module names : stata/SE/14.1.0
* License: University of Hull, presently unavailable
+
* License: University of Hull, restricted to two concurrent seats
 
 
 
 
  
 
== Usage Examples ==
 
== Usage Examples ==

Revision as of 17:29, 16 March 2017

Application Details

  • Description : Stata is a commercial statistical package, which provides a complete solution for data analysis, data management, and graphics.
  • Versions : Stata/SE 14.1.0
  • Module names : stata/SE/14.1.0
  • License: University of Hull, restricted to two concurrent seats

Usage Examples

Test Program

Below is a test example Stata batch file for submission to VIPER called testit.do



clear*
set rmsg on
set obs 1000000
forval n = 1/10 {
g i`n' = runiform()
}
g dv = rbinomial(1,.3)
memory

qui logit dv i*

qui xtmixed dv i*

*with bootstrap:
qui bs, reps(1000): logit dv i*


Batch Submission


#!/bin/bash

#SBATCH -J StataMP-20
#SBATCH -N 1
#SBATCH --ntasks-per-node=20

#SBATCH -o test.out
#SBATCH -e test.err
#SBATCH -p compute
#SBATCH --exclusive
#SBATCH --time=2-00:00:00

echo $SLURM_NTASKS
echo $SLURM_JOB_NODELIST
echo $SLURM_HOSTS

module purge
module add stata/14.1.0

stata-mp -s do testit.do


[username@login01 ~]$ sbatch stata-mp.job
Submitted batch job 389522

Further Information