From: <car...@us...> - 2012-04-12 13:47:47
|
Revision: 10203 http://octave.svn.sourceforge.net/octave/?rev=10203&view=rev Author: carandraug Date: 2012-04-12 13:47:32 +0000 (Thu, 12 Apr 2012) Log Message: ----------- maint: adjust copyright headers on statistics package. Move them to top of file, update to GPLv3, add e-mail address, list them on DESCRIPTION file Modified Paths: -------------- trunk/octave-forge/main/statistics/COPYING trunk/octave-forge/main/statistics/DESCRIPTION trunk/octave-forge/main/statistics/inst/anderson_darling_cdf.m trunk/octave-forge/main/statistics/inst/anderson_darling_test.m trunk/octave-forge/main/statistics/inst/anovan.m trunk/octave-forge/main/statistics/inst/betastat.m trunk/octave-forge/main/statistics/inst/binostat.m trunk/octave-forge/main/statistics/inst/boxplot.m trunk/octave-forge/main/statistics/inst/caseread.m trunk/octave-forge/main/statistics/inst/casewrite.m trunk/octave-forge/main/statistics/inst/chi2stat.m trunk/octave-forge/main/statistics/inst/cl_multinom.m trunk/octave-forge/main/statistics/inst/copulacdf.m trunk/octave-forge/main/statistics/inst/copulapdf.m trunk/octave-forge/main/statistics/inst/expstat.m trunk/octave-forge/main/statistics/inst/ff2n.m trunk/octave-forge/main/statistics/inst/fstat.m trunk/octave-forge/main/statistics/inst/fullfact.m trunk/octave-forge/main/statistics/inst/gamfit.m trunk/octave-forge/main/statistics/inst/gamlike.m trunk/octave-forge/main/statistics/inst/gamstat.m trunk/octave-forge/main/statistics/inst/geomean.m trunk/octave-forge/main/statistics/inst/geostat.m trunk/octave-forge/main/statistics/inst/harmmean.m trunk/octave-forge/main/statistics/inst/histfit.m trunk/octave-forge/main/statistics/inst/hmmestimate.m trunk/octave-forge/main/statistics/inst/hmmgenerate.m trunk/octave-forge/main/statistics/inst/hmmviterbi.m trunk/octave-forge/main/statistics/inst/hygestat.m trunk/octave-forge/main/statistics/inst/jackknife.m trunk/octave-forge/main/statistics/inst/jsucdf.m trunk/octave-forge/main/statistics/inst/jsupdf.m trunk/octave-forge/main/statistics/inst/kmeans.m trunk/octave-forge/main/statistics/inst/linkage.m trunk/octave-forge/main/statistics/inst/lognstat.m trunk/octave-forge/main/statistics/inst/mad.m trunk/octave-forge/main/statistics/inst/monotone_smooth.m trunk/octave-forge/main/statistics/inst/mvncdf.m trunk/octave-forge/main/statistics/inst/mvnpdf.m trunk/octave-forge/main/statistics/inst/mvnrnd.m trunk/octave-forge/main/statistics/inst/mvtcdf.m trunk/octave-forge/main/statistics/inst/nanmax.m trunk/octave-forge/main/statistics/inst/nanmean.m trunk/octave-forge/main/statistics/inst/nanmedian.m trunk/octave-forge/main/statistics/inst/nanmin.m trunk/octave-forge/main/statistics/inst/nanstd.m trunk/octave-forge/main/statistics/inst/nansum.m trunk/octave-forge/main/statistics/inst/nanvar.m trunk/octave-forge/main/statistics/inst/nbinstat.m trunk/octave-forge/main/statistics/inst/normplot.m trunk/octave-forge/main/statistics/inst/normstat.m trunk/octave-forge/main/statistics/inst/pdist.m trunk/octave-forge/main/statistics/inst/poisstat.m trunk/octave-forge/main/statistics/inst/princomp.m trunk/octave-forge/main/statistics/inst/private/tbl_delim.m trunk/octave-forge/main/statistics/inst/random.m trunk/octave-forge/main/statistics/inst/raylcdf.m trunk/octave-forge/main/statistics/inst/raylinv.m trunk/octave-forge/main/statistics/inst/raylpdf.m trunk/octave-forge/main/statistics/inst/raylrnd.m trunk/octave-forge/main/statistics/inst/raylstat.m trunk/octave-forge/main/statistics/inst/regress.m trunk/octave-forge/main/statistics/inst/repanova.m trunk/octave-forge/main/statistics/inst/squareform.m trunk/octave-forge/main/statistics/inst/tabulate.m trunk/octave-forge/main/statistics/inst/tblread.m trunk/octave-forge/main/statistics/inst/tblwrite.m trunk/octave-forge/main/statistics/inst/trimmean.m trunk/octave-forge/main/statistics/inst/tstat.m trunk/octave-forge/main/statistics/inst/unidstat.m trunk/octave-forge/main/statistics/inst/unifstat.m trunk/octave-forge/main/statistics/inst/vmpdf.m trunk/octave-forge/main/statistics/inst/vmrnd.m trunk/octave-forge/main/statistics/inst/wblstat.m Modified: trunk/octave-forge/main/statistics/COPYING =================================================================== --- trunk/octave-forge/main/statistics/COPYING 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/COPYING 2012-04-12 13:47:32 UTC (rev 10203) @@ -1 +1 @@ -See the individual files for licenses. +See individual files for licenses Modified: trunk/octave-forge/main/statistics/DESCRIPTION =================================================================== --- trunk/octave-forge/main/statistics/DESCRIPTION 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/DESCRIPTION 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,12 +1,12 @@ Name: Statistics Version: 1.1.1 Date: 2012-04-12 -Author: Various Authors +Author: various authors Maintainer: Arno Onken <as...@as...> Title: Statistics Description: Additional statistics functions for Octave. Categories: Statistics Depends: octave (>= 2.9.7), miscellaneous Autoload: yes -License: See individual files +License: GPLv3+, public domain Url: http://octave.sf.net Modified: trunk/octave-forge/main/statistics/inst/anderson_darling_cdf.m =================================================================== --- trunk/octave-forge/main/statistics/inst/anderson_darling_cdf.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/anderson_darling_cdf.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Paul Kienzle <pki...@us...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} @var{p} = anderson_darling_cdf (@var{A}, @var{n}) ## @@ -73,9 +76,6 @@ ## @seealso{anderson_darling_test} ## @end deftypefn -## Author: Paul Kienzle -## This code is granted to the public domain. - function y = anderson_darling_cdf(z,n) y = ADinf(z); y += ADerrfix(y,n); Modified: trunk/octave-forge/main/statistics/inst/anderson_darling_test.m =================================================================== --- trunk/octave-forge/main/statistics/inst/anderson_darling_test.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/anderson_darling_test.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Paul Kienzle <pki...@us...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{q}, @var{Asq}, @var{info}] = } = @ ## anderson_darling_test (@var{x}, @var{distribution}) @@ -51,9 +54,6 @@ ## @seealso{anderson_darling_cdf} ## @end deftypefn - -## Author: Paul Kienzle -## This program is granted to the public domain. function [q,Asq,info] = anderson_darling_test(x,dist) if size(x,1) == 1, x=x(:); end Modified: trunk/octave-forge/main/statistics/inst/anovan.m =================================================================== --- trunk/octave-forge/main/statistics/inst/anovan.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/anovan.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,18 +1,17 @@ -## Copyright (C) 2003-2005 Andy Adler +## Copyright (C) 2003-2005 Andy Adler <ad...@nc...> ## -## Octave is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This software is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this software; see the file COPYING. If not, see -## <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{pval}, @var{f}, @var{df_b}, @var{df_e}] =} anovan (@var{data}, @var{grps}) @@ -77,7 +76,6 @@ ## g3 = {'may'; 'may'; 'may'; 'may'; 'june'; 'june'; 'june'; 'june'}; ## anovan( y', [g1',g2',g3']) ## % Fails because we always do interactions - function [PVAL, FSTAT, DF_B, DFE] = anovan (data, grps, varargin) Modified: trunk/octave-forge/main/statistics/inst/betastat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/betastat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/betastat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} betastat (@var{a}, @var{b}) Modified: trunk/octave-forge/main/statistics/inst/binostat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/binostat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/binostat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} binostat (@var{n}, @var{p}) Modified: trunk/octave-forge/main/statistics/inst/boxplot.m =================================================================== --- trunk/octave-forge/main/statistics/inst/boxplot.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/boxplot.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,20 @@ -## Copyright (C) 2002 Alberto Terruzzi +## Copyright (C) 2002 Alberto Terruzzi <t-a...@li...> +## Copyright (C) 2006 Alberto Pose <ap...@al...> +## Copyright (C) 2011 Pascal Dupuis <Pas...@wo...> +## Copyright (C) 2012 Juan Pablo Carbajal <car...@if...> ## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program; If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {@var{s} =} boxplot (@var{data}, @var{notched}, @ Modified: trunk/octave-forge/main/statistics/inst/caseread.m =================================================================== --- trunk/octave-forge/main/statistics/inst/caseread.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/caseread.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2008 Bill Denney +## Copyright (C) 2008 Bill Denney <bi...@de...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {@var{names} =} caseread (@var{filename}) Modified: trunk/octave-forge/main/statistics/inst/casewrite.m =================================================================== --- trunk/octave-forge/main/statistics/inst/casewrite.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/casewrite.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2008 Bill Denney +## Copyright (C) 2008 Bill Denney <bi...@de...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {} casewrite (@var{strmat}, @var{filename}) Modified: trunk/octave-forge/main/statistics/inst/chi2stat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/chi2stat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/chi2stat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} chi2stat (@var{n}) Modified: trunk/octave-forge/main/statistics/inst/cl_multinom.m =================================================================== --- trunk/octave-forge/main/statistics/inst/cl_multinom.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/cl_multinom.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,70 +1,70 @@ -# -*- texinfo -*- -# -# @deftypefn {Function File} {@var{CL} =} cl_multinom (@var{x}, @var{N}, @var{b}, @var{calculation_type} ) - Confidence level of multinomial portions -# Returns confidence level of multinomial parameters estimated @math{ p = x / sum(x) } with predefined confidence interval @var{b}. -# Finite population is also considered. -# -# This function calculates the level of confidence at which the samples represent the true distribution -# given that there is a predefined tolerance (confidence interval). -# This is the upside down case of the typical excercises at which we want to get the confidence interval -# given the confidence level (and the estimated parameters of the underlying distribution). -# But once we accept (lets say at elections) that we have a standard predefined -# maximal acceptable error rate (e.g. @var{b}=0.02 ) in the estimation and we just want to know that how sure we -# can be that the measured proportions are the same as in the -# entire population (ie. the expected value and mean of the samples are roghly the same) we need to use this function. -# -# @subheading Arguments -# @itemize @bullet -# @item @var{x} : int vector : sample frequencies bins -# @item @var{N} : int : Population size that was sampled by x. If N<sum(x), infinite number assumed -# @item @var{b} : real, vector : confidence interval -# if vector, it should be the size of x containing confence interval for each cells -# if scalar, each cell will have the same value of b unless it is zero or -1 -# if value is 0, b=.02 is assumed which is standard choice at elections -# otherwise it is calculated in a way that one sample in a cell alteration defines the confidence interval -# @item @var{calculation_type} : string : (Optional), described below -# "bromaghin" (default) - do not change it unless you have a good reason to do so -# "cochran" -# "agresti_cull" this is not exactly the solution at reference given below but an adjustment of the solutions above -# @end itemize -# -# @subheading Returns -# Confidence level. -# -# @subheading Example -# CL = cl_multinom( [27;43;19;11], 10000, 0.05 ) -# returns 0.69 confidence level. -# -# @subheading References -# -# "bromaghin" calculation type (default) is based on -# is based on the article -# Jeffrey F. Bromaghin, "Sample Size Determination for Interval Estimation of Multinomial Probabilities", The American Statistician vol 47, 1993, pp 203-206. -# -# "cochran" calculation type -# is based on article -# Robert T. Tortora, "A Note on Sample Size Estimation for Multinomial Populations", The American Statistician, , Vol 32. 1978, pp 100-102. -# -# "agresti_cull" calculation type -# is based on article in which Quesenberry Hurst and Goodman result is combined -# A. Agresti and B.A. Coull, "Approximate is better than \"exact\" for interval estimation of binomial portions", The American Statistician, Vol. 52, 1998, pp 119-126 -# -# @end deftypefn +## Copyright (C) 2009 Levente Torok <Tor...@gm...> +## +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. +## +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. +## +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. -# Copyright (C) 2009 Levente Torok / Tor...@gm... -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version.^ -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License" -# along with this program; If not, see <http://www.gnu.org/licenses/>. -# +## -*- texinfo -*- +## +## @deftypefn {Function File} {@var{CL} =} cl_multinom (@var{x}, @var{N}, @var{b}, @var{calculation_type} ) - Confidence level of multinomial portions +## Returns confidence level of multinomial parameters estimated @math{ p = x / sum(x) } with predefined confidence interval @var{b}. +## Finite population is also considered. +## +## This function calculates the level of confidence at which the samples represent the true distribution +## given that there is a predefined tolerance (confidence interval). +## This is the upside down case of the typical excercises at which we want to get the confidence interval +## given the confidence level (and the estimated parameters of the underlying distribution). +## But once we accept (lets say at elections) that we have a standard predefined +## maximal acceptable error rate (e.g. @var{b}=0.02 ) in the estimation and we just want to know that how sure we +## can be that the measured proportions are the same as in the +## entire population (ie. the expected value and mean of the samples are roghly the same) we need to use this function. +## +## @subheading Arguments +## @itemize @bullet +## @item @var{x} : int vector : sample frequencies bins +## @item @var{N} : int : Population size that was sampled by x. If N<sum(x), infinite number assumed +## @item @var{b} : real, vector : confidence interval +## if vector, it should be the size of x containing confence interval for each cells +## if scalar, each cell will have the same value of b unless it is zero or -1 +## if value is 0, b=.02 is assumed which is standard choice at elections +## otherwise it is calculated in a way that one sample in a cell alteration defines the confidence interval +## @item @var{calculation_type} : string : (Optional), described below +## "bromaghin" (default) - do not change it unless you have a good reason to do so +## "cochran" +## "agresti_cull" this is not exactly the solution at reference given below but an adjustment of the solutions above +## @end itemize +## +## @subheading Returns +## Confidence level. +## +## @subheading Example +## CL = cl_multinom( [27;43;19;11], 10000, 0.05 ) +## returns 0.69 confidence level. +## +## @subheading References +## +## "bromaghin" calculation type (default) is based on +## is based on the article +## Jeffrey F. Bromaghin, "Sample Size Determination for Interval Estimation of Multinomial Probabilities", The American Statistician vol 47, 1993, pp 203-206. +## +## "cochran" calculation type +## is based on article +## Robert T. Tortora, "A Note on Sample Size Estimation for Multinomial Populations", The American Statistician, , Vol 32. 1978, pp 100-102. +## +## "agresti_cull" calculation type +## is based on article in which Quesenberry Hurst and Goodman result is combined +## A. Agresti and B.A. Coull, "Approximate is better than \"exact\" for interval estimation of binomial portions", The American Statistician, Vol. 52, 1998, pp 119-126 +## +## @end deftypefn function CL = cl_multinom( x, N, b = .05, calculation_type = "bromaghin") Modified: trunk/octave-forge/main/statistics/inst/copulacdf.m =================================================================== --- trunk/octave-forge/main/statistics/inst/copulacdf.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/copulacdf.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2008 Arno Onken +## Copyright (C) 2008 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {@var{p} =} copulacdf (@var{family}, @var{x}, @var{theta}) Modified: trunk/octave-forge/main/statistics/inst/copulapdf.m =================================================================== --- trunk/octave-forge/main/statistics/inst/copulapdf.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/copulapdf.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2008 Arno Onken +## Copyright (C) 2008 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {@var{p} =} copulapdf (@var{family}, @var{x}, @var{theta}) Modified: trunk/octave-forge/main/statistics/inst/expstat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/expstat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/expstat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} expstat (@var{l}) Modified: trunk/octave-forge/main/statistics/inst/ff2n.m =================================================================== --- trunk/octave-forge/main/statistics/inst/ff2n.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/ff2n.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Paul Kienzle <pki...@us...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} ff2n (@var{n}) ## Full-factor design with n binary terms. @@ -5,9 +8,6 @@ ## @seealso {fullfact} ## @end deftypefn -## Author: Paul Kienzle <pki...@us...> -## This program is public domain - function A=ff2n(n) A = fullfact (2 * ones (1,n)) - 1; endfunction Modified: trunk/octave-forge/main/statistics/inst/fstat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/fstat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/fstat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{mn}, @var{v}] =} fstat (@var{m}, @var{n}) Modified: trunk/octave-forge/main/statistics/inst/fullfact.m =================================================================== --- trunk/octave-forge/main/statistics/inst/fullfact.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/fullfact.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Paul Kienzle <pki...@us...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} fullfact (@var{N}) ## Full factorial design. @@ -10,9 +13,6 @@ ## ## @end deftypefn -## Author: Paul Kienzle <pki...@us...> -## This program is public domain. - function A = fullfact(n) if length(n) == 1 % combinatorial design with n either/or choices Modified: trunk/octave-forge/main/statistics/inst/gamfit.m =================================================================== --- trunk/octave-forge/main/statistics/inst/gamfit.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/gamfit.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Martijn van Oosterhout <kl...@sv...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} {} [A B] = gamfit (@var{R}) ## Finds the maximumlikelihood estimator for the Gamma distribution for R @@ -15,9 +18,6 @@ ## Matlab. To work for Matlab, value of b needs to be inverted in a few ## places (marked with **) -## Written by Martijn van Oosterhout <kl...@sv...> (Nov 2006) -## This code is public domain - function res = gamfit(R) if (nargin != 1) Modified: trunk/octave-forge/main/statistics/inst/gamlike.m =================================================================== --- trunk/octave-forge/main/statistics/inst/gamlike.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/gamlike.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,3 +1,6 @@ +## Author: Martijn van Oosterhout <kl...@sv...> +## This program is granted to the public domain. + ## -*- texinfo -*- ## @deftypefn {Function File} {@var{X} =} gamlike ([@var{A} @var{B}], @var{R}) ## Calculates the negative log-likelihood function for the Gamma @@ -5,9 +8,6 @@ ## @seealso{gampdf, gaminv, gamrnd, gamfit} ## @end deftypefn -## Written by Martijn van Oosterhout <kl...@sv...> (Nov 2006) -## This code is public domain - function res = gamlike(P,K) if (nargin != 2) Modified: trunk/octave-forge/main/statistics/inst/gamstat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/gamstat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/gamstat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} gamstat (@var{a}, @var{b}) Modified: trunk/octave-forge/main/statistics/inst/geomean.m =================================================================== --- trunk/octave-forge/main/statistics/inst/geomean.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/geomean.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2001 Paul Kienzle +## Copyright (C) 2001 Paul Kienzle <pki...@us...> ## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program; If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} geomean (@var{x}) Modified: trunk/octave-forge/main/statistics/inst/geostat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/geostat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/geostat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{m}, @var{v}] =} geostat (@var{p}) Modified: trunk/octave-forge/main/statistics/inst/harmmean.m =================================================================== --- trunk/octave-forge/main/statistics/inst/harmmean.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/harmmean.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2001 Paul Kienzle +## Copyright (C) 2001 Paul Kienzle <pki...@us...> ## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program; If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} harmmean (@var{x}) Modified: trunk/octave-forge/main/statistics/inst/histfit.m =================================================================== --- trunk/octave-forge/main/statistics/inst/histfit.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/histfit.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2003 Alberto Terruzzi +## Copyright (C) 2003 Alberto Terruzzi <t-a...@li...> ## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program; If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} histfit (@var{data}, @var{nbins}) Modified: trunk/octave-forge/main/statistics/inst/hmmestimate.m =================================================================== --- trunk/octave-forge/main/statistics/inst/hmmestimate.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/hmmestimate.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{transprobest}, @var{outprobest}] =} hmmestimate (@var{sequence}, @var{states}) Modified: trunk/octave-forge/main/statistics/inst/hmmgenerate.m =================================================================== --- trunk/octave-forge/main/statistics/inst/hmmgenerate.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/hmmgenerate.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{sequence}, @var{states}] =} hmmgenerate (@var{len}, @var{transprob}, @var{outprob}) Modified: trunk/octave-forge/main/statistics/inst/hmmviterbi.m =================================================================== --- trunk/octave-forge/main/statistics/inst/hmmviterbi.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/hmmviterbi.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {@var{vpath} =} hmmviterbi (@var{sequence}, @var{transprob}, @var{outprob}) Modified: trunk/octave-forge/main/statistics/inst/hygestat.m =================================================================== --- trunk/octave-forge/main/statistics/inst/hygestat.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/hygestat.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,17 +1,17 @@ -## Copyright (C) 2006, 2007 Arno Onken +## Copyright (C) 2006, 2007 Arno Onken <as...@as...> ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. ## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{mn}, @var{v}] =} hygestat (@var{t}, @var{m}, @var{n}) Modified: trunk/octave-forge/main/statistics/inst/jackknife.m =================================================================== --- trunk/octave-forge/main/statistics/inst/jackknife.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/jackknife.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,18 +1,17 @@ -## Copyright (C) 2011 Alexander Klein -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with Octave; see the file COPYING. If not, see -## <http://www.gnu.org/licenses/>. +## Copyright (C) 2011 Alexander Klein <ale...@ma...> +## +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. +## +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. +## +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn{Function File} {@var{jackstat} =} jackknife (@var{E}, @var{x}, @dots{}) Modified: trunk/octave-forge/main/statistics/inst/jsucdf.m =================================================================== --- trunk/octave-forge/main/statistics/inst/jsucdf.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/jsucdf.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,11 +1,17 @@ -## Copyright (C) 2006 Frederick (Rick) A Niles +## Copyright (C) 2006 Frederick (Rick) A Niles <ni...@ri...> ## -## This file is intended to be used with this software. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. +## +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {} jsucdf (@var{x}, @var{alpha1}, @var{alpha2}) Modified: trunk/octave-forge/main/statistics/inst/jsupdf.m =================================================================== --- trunk/octave-forge/main/statistics/inst/jsupdf.m 2012-04-12 10:13:25 UTC (rev 10202) +++ trunk/octave-forge/main/statistics/inst/jsupdf.m 2012-04-12 13:47:32 UTC (rev 10203) @@ -1,11 +1,17 @@ -## Copyright (C) 2006 Frederick (Rick) A Niles +## Copyright (C) 2006 Frederick (Rick) A Niles <ni...@ri...> ## -## This file is intended to be used with this software. +## This program is free software; you can redistribute it and/or modify it under +## the terms of the GNU General Public License as published by the Free Software +## Foundation; either version 3 of the License, or (at your option) any later +## version. ## -## This is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. +## This program is distributed in the hope that it will be useful, but WITHOUT +## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +## details. +## +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- ## @deftypefn {Function File} {} jsupdf (@var{x}, @var{alpha1}, @var{alpha2}) Modified: trunk/octave-forge/main/statistics/inst/kmeans.m ===============================... [truncated message content] |