# ad2Zipf: partition-adjusted Zipf

`ad2Zipf (-h -mW -kX -KY -EZ -H) text.spc`

Partition-adjusted extended Zipf's law. Estimates the partition parameter p by minimizing the mean squared error. Estimates Z by requiring that V(N) = E[V(N)]. For a detailed description of the standard lnre output files, see lnreZipf.

input

`text.spc:` the frequency spectrum

`text.obs` should be available in the working directory

options

`-h:` display on-line help

`-mW:` number of frequency ranks m in the fit is set to W (default: 15)

`-kX:` number of chunks for interpolation is set to X (default: 20)

`-KY:` number of chunks for extrapolation is set to Y (default: 20)

`-EZ:` extrapolation sample size is set to Z (default: 2N_0)

`-H:` input file has no header (default: with header)

output

`text_bZ.spc:` expected frequency spectrum

`text_bZ.sp2:` expected frequency spectrum at 2N_0

`text_bZ.ev2:` V(N_0), E[V(N_0)] and E[V(2N_0)]

`text_bZ.int:` interpolation statistics

`text_bZ.ext:` extrapolation statistics

`text_bZ.sum:` summary of main statistics

[ Previous | Index | Next ]