## fmanova - Package for Analysis of Variance
**fmanova** package provides functions to perform, one-way and two-way analysis of variance. The package contains two functions:
- ***anova1w(data):*** Performs one-way analysis of variance.
- ***anova2w(data):*** Performs two-way analysis of variance.
**Parameters:**
**data:** **List, DataFrame, or ndarray,**
**Returns:** **DataFrame**
#### Dependencies:
- Numpy
- Pandas
- SciPy
#### Installation:
In oder to perform analysis of variance, we must install **fmanova** . Use the package installer (**PIP**) or package management system (**conda**) to install **fmanova**.
pip install fmanova
python -m pip install fmanova
conda install fmanova
#### How to use:
import required function from fmanova
provide input
execute the code
#### Example:
Five different brands of headache tablets and their relief time in hours.
| A |B |C |D |E |
| ------------ | ------------ | ------------ | ------------ | ------------ |
| 5 |9 |3 |2 | 7 |
| 4 | 7 | 5 | 3 | 6 |
| 8 |8 | 2 | 4 | 9 |
| 6 | 6 | 3 | 1 | 4 |
| 3 | 9 | 7 | 4 | 7 |
from fmanova.anova import anova1w
mydata=[[5,4,8,6,3],[9,7,8,6,9],[3,5,2,3,7],[2,3,4,1,4],[7,6,9,4,7]]
anova1w(mydata)
Source Sum_Sq Dof Mean_Sq F P_value
0 Column means 79.44 4 19.86 6.895833 0.00117
1 Residual 57.60 20 2.88
#### Version History
1.0.0 (Initial release)
#### License
This project is licensed under the **MIT** License - see the LICENSE.txt file for details
Raw data
{
"_id": null,
"home_page": "https://github.com/fmkundi/kundidocs",
"name": "fmanova",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,numpy,pandas,statistics,anova,analysis of variance",
"author": "Fazal Masud Kundi",
"author_email": "fmkundi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d4/10/b7d98263d632a912ddcd96af0a3f44c95dc1b3d0f3a547a381cfd1709e51/fmanova-1.0.0.tar.gz",
"platform": null,
"description": "## fmanova - Package for Analysis of Variance\r\n**fmanova** package provides functions to perform, one-way and two-way analysis of variance. The package contains two functions:\r\n\r\n- ***anova1w(data):*** Performs one-way analysis of variance.\r\n- ***anova2w(data):*** Performs two-way analysis of variance.\r\n**Parameters:**\r\n**data:** **List, DataFrame, or ndarray,**\r\n**Returns:** **DataFrame**\r\n\r\n#### Dependencies:\r\n- Numpy\r\n- Pandas\r\n- SciPy\r\n\r\n#### Installation:\r\nIn oder to perform analysis of variance, we must install **fmanova** . Use the package installer (**PIP**) or package management system (**conda**) to install **fmanova**.\r\n\r\n pip install fmanova\r\n python -m pip install fmanova\r\n conda install fmanova\r\n\r\n#### How to use:\r\n import required function from fmanova\r\n provide input \r\n execute the code\r\n\r\n#### Example:\r\nFive different brands of headache tablets and their relief time in hours.\r\n\r\n| A |B |C |D |E |\r\n| ------------ | ------------ | ------------ | ------------ | ------------ |\r\n| 5 |9 |3 |2 | 7 |\r\n| 4 | 7 | 5 | 3 | 6 |\r\n| 8 |8 | 2 | 4 | 9 |\r\n| 6 | 6 | 3 | 1 | 4 |\r\n| 3 | 9 | 7 | 4 | 7 |\r\n\r\n from fmanova.anova import anova1w\r\n mydata=[[5,4,8,6,3],[9,7,8,6,9],[3,5,2,3,7],[2,3,4,1,4],[7,6,9,4,7]]\r\n anova1w(mydata)\r\n \r\n Source Sum_Sq Dof Mean_Sq F P_value\r\n 0 Column means 79.44 4 19.86 6.895833 0.00117\r\n 1 Residual 57.60 20 2.88\r\n\r\n#### Version History\r\n1.0.0 (Initial release)\r\n\r\n#### License\r\nThis project is licensed under the **MIT** License - see the LICENSE.txt file for details\r\n",
"bugtrack_url": null,
"license": "",
"summary": "This moldule provides functions for calculation of one-way and two-way analysis of variance",
"version": "1.0.0",
"split_keywords": [
"python",
"numpy",
"pandas",
"statistics",
"anova",
"analysis of variance"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "8f50fa5363bed4a1f476e198d5bbb5e0",
"sha256": "998c742fe9abbc82ffee74767c68fd731d11235e8ca1f6c42c5fe060c28fcd67"
},
"downloads": -1,
"filename": "fmanova-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "8f50fa5363bed4a1f476e198d5bbb5e0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2699,
"upload_time": "2022-12-27T16:45:32",
"upload_time_iso_8601": "2022-12-27T16:45:32.785046Z",
"url": "https://files.pythonhosted.org/packages/d4/10/b7d98263d632a912ddcd96af0a3f44c95dc1b3d0f3a547a381cfd1709e51/fmanova-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-27 16:45:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "fmkundi",
"github_project": "kundidocs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fmanova"
}