# Confidence Interval for mean or proportion (percent) using SPSS.

#### gvolny

##### New Member
Can somebody tell me what's software, script to use for process the confidence interval (percent or/and mean) over SPSS base?
Gregoire VOLNY

#### Toke

##### New Member
To calculate the confidence interval for mean in SPSS, you can use the EXPLORE function. I use the following syntax.

EXAMINE
VARIABLES=variable
/PLOT NONE
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/NOTOTAL.

As far as I know there is no simple way to calculate the confidence interval for proportion. I usually do it by hand or in a spreadsheet.

With kind regards
Toke Arndal
Stud. scient. pol.

#### mp83

##### TS Contributor
If using R there are a handful of options

Packages
Code:
binom: Binomial Confidence Intervals For Several Parameterizations

Constructs confidence intervals on the probability of success in a
binomial experiment via several parameterizations
> http://cran.r-project.org/src/contrib/Descriptions/binom.html

Code:
binMto: Asymptotic simultaneous confdence intervals for
many-to-one comparisons of proportions

Asymptotic simultaneous confidence intervals for comparison
of many treatments with one control, for the
difference of binomial proportions, allows for
test for many-to-one comparisons to a control.
varbin
binom.test