statsample 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5515b5f0d30630f682398136f8f39bbf218ff9ad
4
- data.tar.gz: 333e360a7c490ab5b10f3f76aa0852ec34be63e2
3
+ metadata.gz: b3785ac7ce81dbffc75370cb51d4535a108808c4
4
+ data.tar.gz: eadd3e56fdcd4799bc90b6d509308d6fb683382d
5
5
  SHA512:
6
- metadata.gz: 05c837e2b3058784a2b7073f64decf414afeaf8d755964f0997c8b5536c9e18337b1eec61663e2111febe87a3e83388689f65f3e36300ca7a7a177ddad0ef3b7
7
- data.tar.gz: 4f8df36dc6b8cb62c1fe5c37e60c5ad04b387f0e6a0d684efc58beb2fae2998a81f4898aeab3402dbfc221a603b010bff37c8e34f70da575dd8b5b47a7d073c6
6
+ metadata.gz: ae9452c11cd369739eaf461367ffa3e07fe59ba1ab35b93618a5466102f38bf5d387e86a81ea8bfdbb7b5f0e86053f1eebb7aa96c6f00ed38e14a85c63e86902
7
+ data.tar.gz: 5d17bd754f46b4db64e8b2a52ecbddcf01c13392593e365a075acbf4cf5077855b54bd9e51e495294741eec29d920b03e8e7e30fe13c87725f56bc554a6a6895
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ Gemfile.lock
2
+ doc.yaml
3
+ *.swp
4
+ *.rbc
5
+ coverage
6
+ *~
7
+ agregar_adsense_a_doc.rb
8
+ pkg
9
+ doc
10
+ .yardoc
11
+ examples/images/*
12
+ examples/*.html
13
+ web/upload_task.rb
14
+ .idea
data/Gemfile CHANGED
@@ -1,17 +1,2 @@
1
1
  source "https://www.rubygems.org"
2
- gem 'minitest'
3
- gem 'rdoc'
4
- gem 'mocha', '0.14.0' #:require=>'mocha/setup'
5
- gem 'shoulda','3.5.0'
6
- gem 'shoulda-matchers','2.2.0'
7
- gem 'hoe'
8
- #gem 'bio-statsample-timeseries'
9
- gem 'reportbuilder'
10
- gem 'dirty-memoize'
11
- gem 'distribution'
12
- gem 'extendmatrix'
13
- gem 'minimization'
14
- gem 'rserve-client'
15
- gem 'rubyvis'
16
- gem 'spreadsheet'
17
- gem 'rb-gsl'
2
+ gemspec
data/History.txt CHANGED
@@ -1,9 +1,14 @@
1
+ === 1.4.1 / 2015-03-26
2
+ * Removed Hoe gem in order to use `statsample.gemspec`.
3
+ * Improved readability of some files by using rubocop.
4
+ * Removed a bad check in `cronbach_alpha` (#10).
5
+
1
6
  === 1.4.0 / 2014-10-11
2
7
  * Replaced README.txt for README.md
3
8
  * Replace File.exists? for File.exist?
4
9
  + New Dataset.join to join two dataset based on some fields
5
10
  * Deleted MLE based regression (Probit and logistic). Now all GML methods are on statsample-glm
6
-
11
+
7
12
  === 1.3.1 / 2014-06-26
8
13
 
9
14
  * Example referred to a SimpleRegression class which doesn't exist. Updated to working example.
@@ -23,7 +28,7 @@
23
28
  * open svg on mac osx
24
29
 
25
30
  === 1.2.0 / 2011-12-15
26
-
31
+
27
32
  * Added support for time series (TimeSeries object): MA, EMA, MACD, acf, lag and delta. [Rob Britton]
28
33
  * Changed summary attribute to properly display 'b' value for simple linear regression [hstove]
29
34
  * Merge pull request #6 from hstove/patch-1Changed summary attribute to properly display 'b' value for simple linear regression [Claudio Bustos]
@@ -34,9 +39,9 @@
34
39
  * New Statsample::Anova::Contrast
35
40
  * Jacknife and bootstrap for Vector. Thanks to John Firebaugh for the idea
36
41
  * Improved Statsample::Analysis API
37
- * Updated CSV.read. Third argument is a Hash with options to CSV class
42
+ * Updated CSV.read. Third argument is a Hash with options to CSV class
38
43
  * Added restriction on Statsample::Excel.read
39
- * Updated spanish po
44
+ * Updated spanish po
40
45
  * Better summary for Vector
41
46
  * Improving summary of t related test (confidence interval and estimate output)
42
47
  * Replaced c for vector on Statsample::Analysis examples
@@ -51,7 +56,7 @@
51
56
  === 1.0.0 / 2011-01-27
52
57
 
53
58
  * Added Statsample::Analysis, a beautiful DSL to perform fast statistical analysis using statsample. See directory /examples
54
- * Created benchmarks directory
59
+ * Created benchmarks directory
55
60
  * Removed Distribution module from statsample and moved to a gem. Changes on code to reflect new API
56
61
  * Optimized simple regression. Better library detection
57
62
  * New 'should_with_gsl' to test methods with gsl. Refactored Factor::MAP
@@ -62,17 +67,17 @@
62
67
  * Modified examples using Statsample::Analysis
63
68
  * Simplified eigen calculations
64
69
  * Updated some examples. Added correlation matrix speed suite
65
- * Correlation matrix optimized. Better specs
66
- * Optimized correlation matrix. Use gsl matrix algebra or pairwise correlations depending on empiric calculated equations. See benchmarks/correlation_matrix.rb to see implementation of calculation
70
+ * Correlation matrix optimized. Better specs
71
+ * Optimized correlation matrix. Use gsl matrix algebra or pairwise correlations depending on empiric calculated equations. See benchmarks/correlation_matrix.rb to see implementation of calculation
67
72
  * Moved tests fixtures from data to test/fixtures
68
73
  * Fixed some errors on tests
69
- * Bug fix: constant_se on binomial regression have an error
70
- * All test should work on ruby 1.9.3
74
+ * Bug fix: constant_se on binomial regression have an error
75
+ * All test should work on ruby 1.9.3
71
76
  * New Vector.[] and Vector.new_scale
72
- * Detect linearly dependent predictors on OLS.
77
+ * Detect linearly dependent predictors on OLS.
73
78
 
74
79
  === 0.18.0 / 2011-01-07
75
- * New Statsample.load_excel
80
+ * New Statsample.load_excel
76
81
  * New Statsample.load_csv
77
82
  * Statsample::Dataset#[] accepts an array of fields and uses clone
78
83
  * New Dataset#correlation_matrix and Statsample::Dataset#covariance_matrix
@@ -83,19 +88,19 @@
83
88
  * Improved summary for PCA using covariance matrix
84
89
  * New attribute :label_angle for Statsample::Graph::Boxplot
85
90
  * Fixed Scatterplots scaling problems
86
- * New attributes for Scatterplots: groups, minimum_x, minimum_y, maximum_x,
91
+ * New attributes for Scatterplots: groups, minimum_x, minimum_y, maximum_x,
87
92
  * New Statsample::Multiset#union allows to create a new dataset based on a m
88
93
  * New Statsample::Multiset#each to traverse through datasets
89
94
  * Bug fix: Vector#standarized and Vector#percentile crash on nil data
90
95
  * Bug fix: Vector#mean and Vector#sd crash on data without valid values
91
96
  * Modified methods names on Statsample::Factor::PCA : feature_vector to feature_matrix, data_transformation to principal_components
92
97
  * Added Statsample::Vector.vector_centered
93
- * Factor::MAP.with_dataset() implemented
94
- * Bug fix: Factor::MAP with correlation matrix with non-real eigenvalues crashes * Added documentation for Graph::Histogram
98
+ * Factor::MAP.with_dataset() implemented
99
+ * Bug fix: Factor::MAP with correlation matrix with non-real eigenvalues crashes * Added documentation for Graph::Histogram
95
100
  * Added MPA to Reliability::MultiScaleAnalysis
96
- * Added custom names for returned vectors and datasets
97
- * Updated spanish traslation
98
- * Graph::Histogram updated. Custom x and y max and min, optional normal distribution drawing
101
+ * Added custom names for returned vectors and datasets
102
+ * Updated spanish traslation
103
+ * Graph::Histogram updated. Custom x and y max and min, optional normal distribution drawing
99
104
  * Updated Histogram class, with several new methods compatibles with GSL::Histogram
100
105
 
101
106
  === 0.17.0 / 2010-12-09
@@ -106,18 +111,18 @@
106
111
 
107
112
  === 0.16.0 / 2010-11-13
108
113
  * Works on ruby 1.9.2 and HEAD. Updated Rakefile and manifest
109
- * Removed all graph based on Svg::Graph.
114
+ * Removed all graph based on Svg::Graph.
110
115
  * First operative version of Graph with Rubyvis
111
- * Corrected bug on Distribution::Normal.cdf.
116
+ * Corrected bug on Distribution::Normal.cdf.
112
117
  * Added reference on references.txt
113
118
  * Ruby-based random gaussian distribution generator when gsl not available
114
119
  * Added population average deviation [Al Chou]
115
120
 
116
121
  === 0.15.1 / 2010-10-20
117
- * Statsample::Excel and Statsample::PlainText add name to vectors equal to field name
122
+ * Statsample::Excel and Statsample::PlainText add name to vectors equal to field name
118
123
  * Statsample::Dataset.delete_vector accept multiple fields.
119
- * Statsample::Dataset.dup_only_valid allows duplication of specific fields
120
- * ScaleAnalysis doesn't crash on one-item scales
124
+ * Statsample::Dataset.dup_only_valid allows duplication of specific fields
125
+ * ScaleAnalysis doesn't crash on one-item scales
121
126
  * Updated references
122
127
 
123
128
  === 0.15.0 / 2010-09-07
@@ -126,14 +131,14 @@
126
131
  * Added Spearman-Brown prophecy on Reliability module
127
132
  * Distribution::F uses Gsl when available
128
133
  * Added mean r.p.b. and item sd on Scale Analysis
129
- * Corrected bug on Vector.ary_method and example of Anova Two Way using vector.
134
+ * Corrected bug on Vector.ary_method and example of Anova Two Way using vector.
130
135
 
131
136
 
132
137
  === 0.14.1 / 2010-08-18
133
138
 
134
- * Added extra information on $DEBUG=true.
135
- * Changed ParallelAnalysis: with_random_data parameters, bootstrap_method options are data and random, resolve bug related to number of factors to preserve, resolved bug related to original eigenvalues, can support failed bootstrap of data for Tetrachoric correlation.
136
- * Optimized eigenpairs on Matrix when GSL is available.
139
+ * Added extra information on $DEBUG=true.
140
+ * Changed ParallelAnalysis: with_random_data parameters, bootstrap_method options are data and random, resolve bug related to number of factors to preserve, resolved bug related to original eigenvalues, can support failed bootstrap of data for Tetrachoric correlation.
141
+ * Optimized eigenpairs on Matrix when GSL is available.
137
142
  * Added test for parallel analysis using data bootstraping
138
143
  * Updated .pot and Manifest.txt
139
144
  * Added test for kmo(global and univariate), bartlett and anti-image. Kmo and Bartlett have test based on Dziuban and Shirkey with correct results
@@ -142,16 +147,16 @@
142
147
  * Added reference for Statsample::Factor::MAP
143
148
 
144
149
  === 0.14.0 / 2010-08-16
145
- * Added Statsample::Factor::MAP, to execute Velicer's (1976) MAP to determine the number of factors to retain on EFA
150
+ * Added Statsample::Factor::MAP, to execute Velicer's (1976) MAP to determine the number of factors to retain on EFA
146
151
  * Bug fix on test suite on Ruby 1.8.7
147
152
  * Horn's Parallel Analysis operational and tested for pure random data
148
- * Fixed bug on Excel writer on Ruby1.9 (frozen string on header raises an error).
153
+ * Fixed bug on Excel writer on Ruby1.9 (frozen string on header raises an error).
149
154
  * Extra information on Factorial Analysis on summaries
150
- * Fixed bug on Factor::Rotation when used ::Matrix without field method.
155
+ * Fixed bug on Factor::Rotation when used ::Matrix without field method.
151
156
  * Added Vector#vector_percentil method
152
- * Summaries for PCA, Rotation, MultiScale and ScaleAnalysis created or improved.
157
+ * Summaries for PCA, Rotation, MultiScale and ScaleAnalysis created or improved.
153
158
  * Factor::PCA could have rotation and parallel analysis on summary.
154
- * Cronbach's alpha from covariance matrix raise an error on size<2
159
+ * Cronbach's alpha from covariance matrix raise an error on size<2
155
160
  * MultiScaleAnalysis could have Parallel Analysis on summary.
156
161
  * Added Chi Square test
157
162
  * Added new information on README.txt
@@ -168,7 +173,7 @@
168
173
 
169
174
  * Polychoric and Tetrachoric moved to gem statsample-bivariate-extension
170
175
  * All classes left with summary method include Summarizable now. Every method which return localizable string is now parsed with _()
171
- * Correct implementation of Reliability::MultiScaleAnalysis.
176
+ * Correct implementation of Reliability::MultiScaleAnalysis.
172
177
  * Spanish translation for Mann-Whitney's U
173
178
  * Added example for Mann-Whitney's U test
174
179
  * Better summary for Mann-Whitney's U Test
@@ -179,10 +184,10 @@
179
184
 
180
185
  * Modified Rakefile to remove dependencies based on C extensions. These are moved to statsample-optimization
181
186
  * T test with unequal variance fixed on i686
182
- * API Change: Renamed Reliability::ItemAnalysis and moved to independent file
187
+ * API Change: Renamed Reliability::ItemAnalysis and moved to independent file
183
188
  * New Reliability::MultiScaleAnalysis for easy analysis of scales on a same survey, includind reliability, correlation matrix and Factor Analysis
184
189
  * Updated README to reflect changes on Reliability module
185
- * SvgGraph works with reportbuilder.
190
+ * SvgGraph works with reportbuilder.
186
191
  * Added methods on Polychoric based on Olsson(1979): the idea is estimate using second derivatives.
187
192
  * Distribution test changed (reduced precision on 32 bits system
188
193
 
@@ -196,7 +201,7 @@
196
201
  <b>New features:</b>
197
202
  * Added Statsample::Anova::TwoWay and Statsample::Anova::TwoWayWithVectors
198
203
  * Added Statsample.clone_only valid and Statsample::Dataset.clone_only_valid, for cheap copy on already clean vectors
199
- <b>Optimizations and bug fix</b>
204
+ <b>Optimizations and bug fix</b>
200
205
  * Removed library statistics2 from package. Used gem statistics2 instead, because have a extension version
201
206
  * Added example for Reliability class
202
207
  * Bug fix on Statsample::DominanceAnalysis
@@ -204,7 +209,7 @@
204
209
  === 0.10.0 / 2010-04-13
205
210
 
206
211
  <b>API modifications</b>
207
- * Refactoring of Statsample::Anova module.
212
+ * Refactoring of Statsample::Anova module.
208
213
  * Statsample::Anova::OneWay :implementation of generic ANOVA One-Way, used by Multiple Regression, for example.
209
214
  * Statsample::Anova::OneWayWithVectors: implementation of ANOVA One-Way to test differences of means.
210
215
 
@@ -228,7 +233,7 @@
228
233
  === 0.8.1 / 2010-03-29
229
234
  * Fixed Regression summaries
230
235
  === 0.8.0 / 2010-03-29
231
- * New Statsample::Test::T module, with classes and methods to do Student's t tests for one and two samples.
236
+ * New Statsample::Test::T module, with classes and methods to do Student's t tests for one and two samples.
232
237
  * Statsample::PromiseAfter module to set a number of variables without explicitly call the compute or iterate method
233
238
  * All tests ported to MiniUnit
234
239
  * Directory 'demo' renamed to 'examples'
@@ -266,7 +271,7 @@
266
271
 
267
272
 
268
273
  === 0.6.4 / 2010-02-19
269
- * Dominance Analysis and Dominance Analysis Bootstrap allows multivariate dependent analysis.
274
+ * Dominance Analysis and Dominance Analysis Bootstrap allows multivariate dependent analysis.
270
275
  * Test suite for Dominance Analysis, using Azen and Budescu papers as references
271
276
  * X^2 for polychoric correlation
272
277
 
@@ -285,12 +290,12 @@
285
290
  * New Statsample::Factor module. Include classes for extracting factors (Statsample::Factor::PCA and Statsample::Factor::PrincipalAxis) and rotate component matrix ( Statsample::Factor::Rotation subclasses). For now, only orthogonal rotations
286
291
  * New Statsample::Dataset.crosstab_with_asignation, Statsample::Dataset.one_to_many
287
292
  * New class Statsample::Permutation to produce permutations of a given array
288
- * New class Statsample::Histogram, with same interface as GSL one
293
+ * New class Statsample::Histogram, with same interface as GSL one
289
294
  * New class Statsample::Test::UMannWhitney, to perform Mann-Whitney's U test. Gives z based and exact calculation of probability
290
295
  * Improved support for ReportBuilder
291
296
  * Statsample::Codification module reworked
292
297
  * Fixed bugs on Dominance Analysis classes
293
- * Fixed bugs on Statsample::Vector.kurtosis and Statsample::Vector.skew
298
+ * Fixed bugs on Statsample::Vector.kurtosis and Statsample::Vector.skew
294
299
 
295
300
  === 0.5.1 / 2009-10-06
296
301
 
@@ -354,15 +359,15 @@
354
359
 
355
360
  * One Way Anova on Statsample::Anova::OneWay
356
361
  * Dominance Analysis!!!! The one and only reason to develop a Multiple Regression on pure ruby.
357
- * Multiple Regression on Multiple Regression module. Pairwise (pure ruby) or MultipleRegressionPairwise and Listwise (optimized) on MultipleRegressionAlglib and
362
+ * Multiple Regression on Multiple Regression module. Pairwise (pure ruby) or MultipleRegressionPairwise and Listwise (optimized) on MultipleRegressionAlglib and
358
363
  * New Dataset#to_gsl_matrix, #from_to,#[..],#bootstrap,#vector_missing_values, #vector_count_characters, #each_with_index, #collect_with_index
359
364
  * New Vector#box_cox_transformation
360
365
  * Module Correlation renamed to Bivariate
361
366
  * Some fancy methods and classes to create Summaries
362
367
  * Some documentation about Algorithm used on doc_latex
363
368
  * Deleted 'distributions' extension. Ruby/GSL has all the pdf and cdf you ever need.
364
- * Tests work without any dependency. Only nags about missing deps.
365
- * Test for MultipleRegression, Anova, Excel, Bivariate.correlation_matrix and many others
369
+ * Tests work without any dependency. Only nags about missing deps.
370
+ * Test for MultipleRegression, Anova, Excel, Bivariate.correlation_matrix and many others
366
371
 
367
372
  === 0.1.9 / 2009-05-22
368
373
 
@@ -372,8 +377,8 @@
372
377
  * Module SRS: New methods estimation_n0 and estimation_n
373
378
  * Module Reliability: new ItemCharacteristicCurve class
374
379
  * New HtmlReport class
375
- * New experimental SPSS Class.
376
- * Converters: Module CSV with new options. Added write() method for GGobi module
380
+ * New experimental SPSS Class.
381
+ * Converters: Module CSV with new options. Added write() method for GGobi module
377
382
  * New Mx exporter (http://www.vcu.edu/mx/)
378
383
  * Class SimpleRegression: new methods standard error
379
384
 
@@ -404,7 +409,7 @@
404
409
  === 0.1.4 / 2008-08-27
405
410
 
406
411
  * New extension, with cdf functions for
407
- chi-square, t, gamma and normal distributions.
412
+ chi-square, t, gamma and normal distributions.
408
413
  Based on dcdflib (http://www.netlib.org/random/)
409
414
  Also, has a function to calculate the tail for a noncentral T distribution
410
415
 
data/LICENSE.txt CHANGED
@@ -1,87 +1,12 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- **************************
1
+ Copyright (c) 2009-2015, Claudio Bustos
2
+ All rights reserved.
3
3
 
4
- Version 2, June 1991
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
5
 
6
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
6
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
7
 
9
- Everyone is permitted to copy and distribute verbatim copies
10
- of this license document, but changing it is not allowed.
8
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
9
 
12
- Preamble
10
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
13
11
 
14
- The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
15
-
16
- When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
17
-
18
- To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
19
-
20
- For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
21
-
22
- We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
23
-
24
- Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
25
-
26
- Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
27
-
28
- The precise terms and conditions for copying, distribution and modification follow.
29
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
30
-
31
- 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
32
-
33
- Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
34
-
35
- 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
36
-
37
- You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
38
-
39
- 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
40
-
41
- a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
42
- b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
43
- c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
44
-
45
- These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
46
-
47
- Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
48
-
49
- In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
50
-
51
- 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
52
-
53
- a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
54
- b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
55
- c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
56
-
57
- The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
58
-
59
- If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
60
-
61
- 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
62
-
63
- 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
64
-
65
- 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
66
-
67
- 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
68
-
69
- If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
70
-
71
- It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
72
-
73
- This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
74
-
75
- 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
76
-
77
- 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
78
-
79
- Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
80
-
81
- 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
82
-
83
- NO WARRANTY
84
-
85
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
86
-
87
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.