0% found this document useful (0 votes)
4 views2 pages

Your Paragraph Text

The document discusses the concept of p-values in hypothesis testing, emphasizing their role in determining the consistency of sample data with the null hypothesis. It also outlines various statistical methods for handling missing data and provides formulas for different probability distributions, including Poisson, Normal, and Binomial distributions. Additionally, it includes notes on syntax and operations related to data manipulation in Python.

Uploaded by

bhuvanesh2465
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Your Paragraph Text

The document discusses the concept of p-values in hypothesis testing, emphasizing their role in determining the consistency of sample data with the null hypothesis. It also outlines various statistical methods for handling missing data and provides formulas for different probability distributions, including Poisson, Normal, and Binomial distributions. Additionally, it includes notes on syntax and operations related to data manipulation in Python.

Uploaded by

bhuvanesh2465
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Confidence Interval

The p-value of a hypothesis test is the probability of getting sample data at


least as inconsistent with the null hypothesis (and supportive of the alternative
hypothesis) as the sample data actually obtained

Vlines and pmf plot

P-value calculation Notes


output of // is int
when taking input(‘’), value is str by
default
.pop() is index
zip(a,b) will iterate over a and b and
combine them till the shortest
ends
a = () is a tuple
Dictionary keys can be any
immutable types: boolean, integer,
float, string, tuple, and others
Hypothesis Testing statistic print and .append() RETURNS no
output - nonetype
all positional arguments must be
specified before keyword
arguments, otherwise there will be
an error message
Syntax
Handling Missing Data:
Detecting: .isnull(), .notnull().
Dropping: .dropna().
Replacing: .fillna(value).
Row Index Operations:
Setting: .set_index('column_name').
Resetting: .reset_index()
Probability:
Poisson Distribution
Probability Mass Function (PMF):
poisson.pmf(k, mu)
Cumulative Distribution Function
(CDF): poisson.cdf(k, mu)
Percent Point Function (PPF):
poisson.ppf(q, mu)
Normal Distribution
Probability Density Function (PDF):
norm.pdf(x, mean, std)
Cumulative Distribution Function
(CDF): norm.cdf(x, mean, std)
Percent Point Function (PPF):
norm.ppf(q, mean, std)
Binomial Distribution
Probability Mass Function (PMF):
binom.pmf(k, n, p)
Cumulative Distribution Function
(CDF): binom.cdf(k, n, p)
Percent Point Function (PPF):
binom.ppf(q, n, p)

Numpy

You might also like