{statistics} if for questions related to statistics software/graphics/packages and TeX.

learn more… | top users | synonyms

1
vote
0answers
31 views

How do you display words, not variables, in equations in LaTeX? [duplicate]

In particular, I need to display the following: P(success) = size of successful region/size of possible region But with a nice divisor line for the fraction. If I just enter this in typical fashion ...
5
votes
2answers
110 views

General way to split a line by a rule of thumb and displaying results

The following is to construct illustrations for concepts of frequency of a properly sampled outcome if any such frequency exists. Doing such illustrations is tedious and liable to error by hand ... so ...
8
votes
3answers
316 views

Hierarchical statistical diagrams

I would like to create a diagram like the one below in LaTeX (probably with TikZ). This diagram and others can be found on this website. It looks like it was made with LaTeX, but I am not entirely ...
3
votes
1answer
170 views

Poisson distribution with tikzpicture

I am new to 'drawing' in LaTeX with pgfplots, tikz, etc. I am trying to plot a Poisson distribution with varying means. Here is what I have tried (based on this answer) \documentclass{article} ...
10
votes
3answers
392 views

Filling in the area under a normal distribution curve [duplicate]

I'm trying to fill the area between the two $z$-scores but I'm not having any luck. Could someone please help me with this? \begin{tikzpicture} \begin{axis}[ no markers, domain=0:6, ...
2
votes
1answer
235 views

How to write partial eta square in LaTeX?

Problem: Writing partial eta square in LaTeX. I couldn't find anywhere online giving guidance to this statistic symbol. Example (it's the symbol to the left): Any help would be appreciated.
7
votes
3answers
273 views

histogram + frequention polygon

This is my code \documentclass[11pt,a4paper]{article} \usepackage{tikz} \usepackage{tkz-euclide} \usetikzlibrary{calc,intersections,through,backgrounds,snakes} \usepackage{pgfplots} ...
12
votes
2answers
357 views

TikZ: Regression Line with Residuals

Desired Output I made this diagram in R with ggplot2. Now I want to reproduce this diagram with Tikz. My MWE is: \documentclass[tikz]{standalone} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
1
vote
0answers
94 views

how to generate document statistics?

In another question, manual steps are explained to implement stats. Due to a deadline and for some convenience, is there a package that generates document stats without many modifications in several ...
9
votes
1answer
152 views

LaTeX typeset multiple comparisons

I originally asked this question on Stack Overflow, but was advised to also ask here... So, here goes! I'm teaching an applied stats course and was wondering whether anyone can advise me on how to ...
7
votes
2answers
2k views

Linear regression - trend line with pgfplots

I am trying to display a trend line with pgfplots. I followed the instruction in the manual and looked around. I though I had implemented it correctly, but there is no regression line, and although ...
5
votes
1answer
419 views

pgfplots - draw boxplot without outliers

I am creating a boxplot with pgfplots, using the builtin statistics library. I load the input data from a table file. \usepackage{pgfplots} \usepgfplotslibrary{statistics} ... \begin{tikzpicture} ...
12
votes
5answers
760 views

Create image from statistical data automatically

I am looking for a way to automatically create images like the one below: There is no MWE because all I have, for now, is this image (created, I believe, by SPSS, but I have nothing to do with that ...
3
votes
0answers
394 views

How to typeset statistical distributions [closed]

What is the consensus way to typeset statistical distributions? For the normal distribution I have seen all of: $X\sim N(\mu,\,\sigma^{2})$ $X\sim\mathrm{N}(\mu,\,\sigma^{2})$ ...
1
vote
1answer
796 views

Sweave and Matrix

I am using xtable to generate Matrices x1mean <- matrix(c(204.5, 556.5), 2) x2mean <- matrix(c(130.0, 355.0), 2) x1mmat <- xtable(x1mean, align = rep( "", ncol(x1mean) + 1) ) x2mmat <- ...
6
votes
2answers
480 views

Count in document used source references

I currently gathering some statistical information about my thesis for reporting purposes. One metric I want to determine is how many sources I have referenced. I have a BibTeX file with more than 150 ...
23
votes
3answers
4k views

How to design a 3D donut pie chart with pgf-plot?

It seems that pgfplots users don't like pie charts but sometimes we can't go without (for some reasons). So I was wondering if there was a way to make what is called a donut chart. For example one ...
9
votes
2answers
700 views

Statistics about LaTeX use in the world

Are there any statistics about the use of LaTeX in the world? In which countries? In which journals/fields of research? Number of articles using LaTeX? etc.?
6
votes
3answers
621 views

Extract document statistics? - How many pages has chapter xy? Count fixmes?

I have a large pdflatex document where each chapter is located in an extra text file and included with \include{chapter3.tex} ... How can I extract the page numbers of each chapter and write them ...
3
votes
1answer
457 views

Problem in StatWeave

I visited http://www.stat.uiowa.edu/~rlenth/StatWeave/ and installed StatWeave according to the instructions. But my problem is that there are no Step by Step instructions given in the manual, and ...
1
vote
2answers
384 views

Is there a simple way to obtain the statistic data of the document being typeset?

I want to put the statistic data of my book in a certain page right after the title page but before "This book is presented to my kittens..." page. The statistic data includes: The total number of ...
10
votes
3answers
2k views

Survey or questionnaire document class or package?

I like to create surveys and questionnaires, what would be a good \documentclass or package to use?
5
votes
1answer
167 views

How to output the final value of some counter, like number of figures or tables in the middle of the document?

I need to put some formal statistics on the document itself somewhere in the middle, like "This document contains XXX figures and YYY tables (and may be even ZZZ formulas and PPP theorems)". Is there ...