Docsity
Trusted Seller

quantitative methods for social sciences book summary, Appunti di Statistica

Toggle sidebar
bg1
Statistics is the art and science of designing
studies and analyzing the data that those
studies produce. its ultimate goal is translating
data into knowledge and understanding the
world around us.
There are three main components for
answering a statistical question:
- design refers to how we obtain data
and answer questions of interest
- description summarizes and analyzes
the data that are obtained
- inference makes decisions and
predictions based on the data for
answering the statistical question.
Statistical description and inference are
complementary: the first provides useful
summaries and helps you find patterns in the
data, while inference helps you make
predictions and decide whether observed
patterns are meaningful.
Fundamental for statistic inference is
probability.
The entities that we used to measure in a study
are called subjects. The population is the set of
all the subjects of interest.
In practice, we usually have data for only some
of the subjects who belong to that population.
These subjects are called sample.
The population is the total set of subjects in
which we are interested. A sample is the subset
of the population for whom we have or plan to
have data often randomly selected.
Descriptive statistics refers to methods for
summarizing the collected data where data
contains either sample or population. the
summaries usually consist of graphs and
numbers such as averages and percentages.
A descriptive statistical analysis usually
combines graphical and numerical summaries.
Inferential statistics are used when data are
available for sample only, but we want to make
a decision or prediction about the entire
population.
A parameter is a numerical summary of the
population. A statistic is a numerical summary
of a sample taken from the population.
Randomness means that each subject in the
population has the same chance of being
included in the sample.
A variable is any characteristic observed in a
study.
The data values that we observe are called
observations each of which can be a number
or in a category.
- a variable is called categorical if each
observation belongs to one set of
categories.
- a variable is called quantitative if
observation on it take numerical
values that represent different
magnitudes of the variable.
Graphs and numerical summaries describe the
main features of a variable:
- for quantitative variables, key
features to describe are the centre and
the variability of the data (spread).
- for categorical variables a key feature
to describe is the relative number of
observations in the various categories.
For a quantitative variable, each value it can
take is a number, and we classify quantitative
variables as being either discrete or
continuous.
- the quantitative variable is discrete if
its possible values form a set of
separate numbers such as 0;1;2;3…
- a quantitative variable is continuous
if its possible values form an interval.
The first step to numerically summarizing data
about a variable is to look at the possible
values and count how often each occurs.
- for a categorical variable each
observation falls in one of the
categories. The category with the
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Anteprima parziale del testo

Scarica quantitative methods for social sciences book summary e più Appunti in PDF di Statistica solo su Docsity!

Statistics is the art and science of designing studies and analyzing the data that those studies produce. its ultimate goal is translating data into knowledge and understanding the world around us. There are three main components for answering a statistical question:

  • design refers to how we obtain data and answer questions of interest
  • description summarizes and analyzes the data that are obtained
  • inference makes decisions and predictions based on the data for answering the statistical question. Statistical description and inference are complementary: the first provides useful summaries and helps you find patterns in the data, while inference helps you make predictions and decide whether observed patterns are meaningful. Fundamental for statistic inference is probability. The entities that we used to measure in a study are called subjects. The population is the set of all the subjects of interest. In practice, we usually have data for only some of the subjects who belong to that population. These subjects are called sample. The population is the total set of subjects in which we are interested. A sample is the subset of the population for whom we have or plan to have data often randomly selected. Descriptive statistics refers to methods for summarizing the collected data where data contains either sample or population. the summaries usually consist of graphs and numbers such as averages and percentages. A descriptive statistical analysis usually combines graphical and numerical summaries. Inferential statistics are used when data are available for sample only, but we want to make a decision or prediction about the entire population. A parameter is a numerical summary of the population. A statistic is a numerical summary of a sample taken from the population. Randomness means that each subject in the population has the same chance of being included in the sample. A variable is any characteristic observed in a study. The data values that we observe are called observations each of which can be a number or in a category.
  • a variable is called categorical if each observation belongs to one set of categories.
  • a variable is called quantitative if observation on it take numerical values that represent different magnitudes of the variable. Graphs and numerical summaries describe the main features of a variable:
  • for quantitative variables , key features to describe are the centre and the variability of the data (spread).
  • for categorical variables a key feature to describe is the relative number of observations in the various categories. For a quantitative variable , each value it can take is a number, and we classify quantitative variables as being either discrete or continuous.
  • the quantitative variable is discrete if its possible values form a set of separate numbers such as 0;1;2;3…
  • a quantitative variable is continuous if its possible values form an interval. The first step to numerically summarizing data about a variable is to look at the possible values and count how often each occurs.
  • for a categorical variable each observation falls in one of the categories. The category with the

highest frequency is called the modal category.

  • for a quantitative variable the numerical value that occurs most frequently is the mode. The proportion of observation that falls in a certain category is the frequency (count) of observation in that category divided by the total number of observations. The percentage is a proportion multiplied by 100. Proportions and percentages are also called relative frequencies and serve as a way to summarize the measurements in categories of a categorical variable. A frequency table is a listing of possible values for a variable together with the number of observations for each value. The two primary graphical displays for summarizing categorical variable are:
  • a pie chart: is a circle having a slice of pie for each category. the size of the slice corresponds to the percentage of observation in the category.
  • a bar graph : displays a vertical bar for each category. the height of the bar is the percentage of observation in the category. typically, the vertical bars for each category are apart not side-by- side. A histogram is a graph that uses bars to portray the frequencies of the possible outcomes for a quantitative variable. Steps for constructing a histogram:
  • First, divide the range of the data into intervals of equal width: for a discrete variable with few values use the actual possible values.
  • Then, count the number of observations (the frequency): in each interval forming a frequency table.
  • on the horizontal axis: label the values or the endpoints of the intervals. grow a bar over each value or interval with height equal to its frequency. A graph for a data set describes the distribution of the data , that is, the values the variables take and the frequency of occurrence of each value. The distribution of the data (or so-called data distribution) can also be described by a frequency table The shape of the distribution is often described as symmetric or skewed. To skew means to pull in one direction a distribution skewed to the left is when the left tail is longer than the right tail and vice versa. A data set collected over time is called a time series. The mean is the sum of the observations divided by the number of observations. It is interpreted as the balance point of the distribution. The median is the middle value of the observation when the observations are ordered from the smallest to the largest. The mean refers to averaging that is adding up the data points and dividing by how many there are. The median is the point that splits the data in two half the data below it and half above it. Basic properties of the mean:
  • the mean is the balance point of the data.
  • for skewed distribution, the mean is pulled in the direction of the longer tail relative to the median.
  • the mean can be highly influenced by an outlier which is an usually small or large observation. An outlier is an observation that falls well above or well below the overall bulk of data. The shape of a distribution influences whether the mean is larger or smaller than the median:
  • perfectly symmetric the mean equals the median.
  • skewed to the right the mean is larger than the median.

The pth percentile is a value such as p percent of the observations falls below are at that value. Three useful percentiles are quartiles :

  • Q 1 : the first quartile has P equal 25
  • Q 2 : 50th percentile is usually referred to as the median
  • Q 3 : the third quartile has P equal 75 The quartiles are also used to define a measure of variability that is more resistant than the range and the standard deviation. This measure summarizes the range for the middle half of the data. the middle 50% fall between Q1 and Q3. The distance is called the interquartile range. The interquartile range is the distance between the 1st and 3rd quartile. IQR=Q3 - Q The IQR is not affected by outliers in contrast with the range that depends solely on the minimum and maximum values. So it's often better to use the IQR instead of the range or standard deviation to compare the variability for distributions that are very highly skewed or that have severe outliers. The IQR x 1.5 criterion for identifying potential outliers: an observation is a potential outlier if it falls more than 1.5 IQR above the third quartile. The five-number summary of the data set is:
  • the minimum value
  • Q
  • the median
  • Q
  • and the maximum value. The five-number summary is the basis for a graphical display called boxplot. The box of a boxplot contains the central 50% of the distribution from Q1 to Q3. A line inside the box marks the median, the lines extending from the box are called whiskers. Taking the difference between an observation and the mean and dividing by the standard deviation tells us the number of standard deviations that the observation falls from the mean. This number is called the z-score. The z-score for an observation is the number of standard deviations that it falls from the mean. a positive z-score indicates the observation is below the mean. For sample data, the z-score is calculated as observation minus mean divided by the standard deviation. The response variable is the outcome variable on which comparisons are made.
  • when the explanatory variable is categorical it defines the groups to be compared with respect to the values for the response variable.
  • when the explanatory variable is quantitative it defines the change in different numerical values to be compared with respect to values for the response variable. In words ; the data analysis examines how the outcome of the response variable depends or is explained by the value of the explanatory variable.
  • the main purpose of data analysis with two variables is to investigate whether there is an Association and to describe the nature of that association. An association exists between two variables if a particular value for one variable is more likely to occur with certain values of the other variable. A contingency table is a display for two categorical variables its rows list the categories of 1 variable and its columns list the categories of the other variable. Each entry in the table is the number of observations in the sample at a particular combination of categories of the two categorical variables.
  • each row and column combination in a contingency table is called a cell. The process of taking data file and finding the frequencies of the cells is referred to as cross-tabulation of the data.
  • conditional proportions in each row sum up to 1. When forming a contingency table determine if one

variable should be the response variable. If there is a clear explanatory response relation that dictates which way, we compute the conditional proportions. 3 cases when investigating Association:

  • the variables could be categorical (food type): in this case, the data are displayed in a contingency table and we can explore the association by comparing conditional proportions.
  • one variable could be quantitative, and one could be categorical (income/gender): we can compare the categories using summaries of centre and variability for the quantitative variable and graphics such as side-by- side boxplots.
  • both variables could be quantitative : in this case, we analyze how the outcome on the response variable tends to change as the value of the explanatory variable changes. The scatterplot is a graphical display for two quantitative variables using the horizontal (x) axis for the explanatory variable X and the vertical (y) axis for the response variable Y. The values of X and Y for subject are represented by a point relative to the two axes. The observations for the n subjects are endpoints on the scatterplot.
  • two quantitative variables X and Y are said to have a positive Association when high values of X tend to occur with high values of Y, and low values of X tend to occur with low values of Y. As X goes up Y tends to go up.
  • two quantitative variables have a negative Association when high values of a variable tend to pair with low values of the other. When the data points follow a roughly straight-line tren d the variables are said to have an approximately linear relationship.
  • a summary measure called the correlation describes the strength of the linear Association. The correlation summarizes the direction of the association between two quantitative variables and the strength of its linear straight- line trend.
  • denoted by r it takes values between plus-minus one.
  • a positive value of r indicates a positive association and vice versa.
  • the closer r is to plus-minus one the closer the data points fall to a straight line and the stronger the linear association is.
  • the closer r is to zero the weaker the linear association is.
  • the value of the correlation does not depend on variable units. Two variables have the same correlation no matter which is treated as the response variable. For an observation X on the explanatory variable let zx denote the z-score that represents the number of standard deviation and direction that X falls from the mean of X: o to obtain r, you calculate the product zx zy for each observation then find a typical value of those products. The product of the z-scores for any point in the upper right quadrant and lower left quadrant is positive, such points contribute to a positive correlation. In the upper left and lower right quadran t is negative such points contribute to a negative correlation. The regression line predicts the value for the response variable Y as a straight-line function of the value X of the explanatory variable. Let Y-hat denotes the predicted value of Y. The equation for the regression line has the form: Y- hat = A+B X
  • in this formula A is the Y-intercept and B is the slope.
  • you then generate a set of those numbers randomly.
  • Finally, you sample the subject whose numbers are generated. When using a simple random sample of n subjects, the approximate margin of error = 1 / square root n x 100%
  • Sampling bias : bias may result from the sampling method. The main way this occurs is if the sample is not random.
  • Nonresponse bias : a second type of bias occurs when some sample subjects cannot be reached or refused to participate.
  • Response bias occurs in the actual responses made. Key parts of a sample survey:
  • Identify the population of all the subjects of interest.
  • construct a sampling frame which attempts to list all the subjects in the population.
  • use a random sampling design implemented using random numbers to select n subjects from the sampling frame.
  • be cautious about sampling bias due to nonrandom samples and sample under coverage, response bias from subjects not giving their true response from poorly worded questions and non-response bias from the refusal of subjects to participate. Control comparison group:
  • an experiment normally has a primary treatment of interest, but it should also have a second treatment for comparison to help you analyze the effectiveness of the primary treatment. This second is called the control group. Randomization helps to prevent bias from one treatment group tending to be different from the other in some way. It is important that the treatment groups be treated as equally as possible ideally the subjects are blind to the treatment to which they are assigned. When neither the subject nor those having contact with the subject know the treatment assigned the study is called double-blind. Clusters: Divide the population into a large number of clusters such as city blocks. Select a simple random sample of the clusters. Use the subjects in those clusters as the sample. This is a cluster random sample.
  • it is a preferable sampling design if: o a reliable sampling frame is not available or the cost of selecting a simple random sample is excessive.
  • a disadvantage is that: o we usually need a larger sample size with a cluster random sample than with a simple random sample in order to achieve the particular margin of error. A stratified random sample divides the population into separate groups called strata and then selects a simple random sample from each stratum. Probability : With a randomized experiment or random sample or other random phenomenon (such as simulation), the probability of a particular outcome is the proportion of times that the outcome would occur in a long run of observations. Independent trials: Different trials of a random phenomenon are independent if the outcome of any one trial is not affected by the outcome of any other trial. A random variable is a numerical measurement of the outcome of a random phenomenon. Often the randomness results

from the use of random sample or random experiment to gather the data. The probability distribution of a discrete random variable assigns a probability to each possible value. A discrete random variable X takes a set of separate values (0;1;2;3;..) its probability distribution assigns a probability P(X) to each possible value X.

  • for each X the probability P (X) falls between zero and one.
  • the sum of probabilities for all the possible X values equal 1. Random variables can also be continuous having possible values that are an interval rather than a set of separate values.
  • numerical summaries of populations are called parameters , you can think of a population distribution as merely being a type of probability of distribution. The mean of a probability distribution for a discrete random variable is:
  • m = Sx P(x) Where the sum is taken over all possible values of X. The mean is called a weighted average: values of X that are more likely receive a greater weight.
  • consider the special case in which the outcomes are equally likely. o then m = Sx P(x) o = Sx (1/n) o = (Sx)/n. The mean of the probability distribution of a random variable X is also called the expected value of X. The standard deviation of a probability distribution denoted s measures the variability from the mean.
  • larger values of s correspond to greater variability.
  • roughly s describes how far the random variable falls on average from the mean of its distribution. A random variable is called continuous when its possible values form an interval:
  • probability distributions of continuous random variables assign probabilities to any interval of the possible values. A continuous random variable has possible values that form an interval. Its probability distribution is specified by a curve that determines the probability that the random variable falls in any particular interval of values.
  • each interval has probability between zero and one, this is the area under the curve, above that interval. The interval containing all possible values has probability equal 1, so the total area under the curve equal 1. In practice, continuous variables are measured in a discrete manner because of rounding. With rounding a continuous random variable can take on a large number of separate values. Bell-shaped distributions: F or any real number of the mean and any positive number for the standard deviation there is a normal distribution with that mean and standard deviation.
  • the normal distribution is symmetric, Bell-shaped, and characterized by its mean and standard deviation.
  • The probability within a particular number of standard deviations of the mean is the same for all normal distributions; this probability equals: o 0.68 within one standard deviation. o 0.95 within 2 standard deviations, o 0.997 within 3 standard deviations. The multiples one two and three of the number of standard deviations from the mean are denoted by z.

expected behavior of the sampling distribution of the sample mean when the population distribution is normally distributed:

  • for a random sample of size n from a normally distributed population having mean m, and standard deviation s, then regardless of the sample size n the sampling distribution of the sample mean is also normally distributed with its centre described by the population mean m, and the variability described by the standard deviation of the sampling distribution which equals the population standard deviation divided by the square root of the sample size.
  • for a random sample size n from a population having mean m, and standard deviation s, the sampling distribution of the sample mean has its centre described by the population mean m, and the variability described by the standard deviation of the sampling distribution which equals standard deviation divided by the square root of n.
  • for a random sample of size n from the population having mean m, and standard deviation s, then as the sample size n increases the sampling distribution of the sample mean approaches an approximately normal distribution. REVIEW QUESTIONS: Difference between descriptive and inferential statistics:
  • we collect data for a sample of subjects. They are usually just a small part of the population, which is the set of all subjects in which we are interested.
  • We use Descriptive statistics to summarize the sample data with numbers and graphs.
  • Inferential statistics are used to make decisions and predictions about the entire population based on the sample data. Difference between categorical and quantitative variable:
  • A categorical variable has observations that fall into one of a set of categories, such as preferred place to shop.
  • A quantitative variable takes numerical values such as grade point average. how can you describe a set of data graphically? what is the disadvantage - advantage of histograms?
  • for categorical variables data are displayed using pie charts and bar graphs.
  • for quantitative variables the histogram is a graph of a frequency table, showing bars above internal values. the histogram does not show the individual observations but more easily handles large amounts of data. how can you numerically summarize categorical data?
  • for categorical data, the data are summarized using frequencies (for counts) of categories, the proportions of observations in a category or the percentage of observations in a category.
  • we describe the category with the most observations as the modal category. how can you describe the centre of a set of data numerically?
  • for a quantitative variable, numerical summaries describe the centre and variability of the data and relative positions.
  • measures of the centre describe a representative or typical observation. o the mean is the balance point of a distribution and is calculated as the sum of observation

divided by the number of observation. o the median divides the ordered data set into two points of equal numbers of observations, half below and half above that point. o the mode, is the most frequent value.

  • for highly skewed distributions or distribution having extreme outliers in one direction, the mean is drawn in the direction of the longer tail of the distribution and may be a misleading summary. how can you describe the variability of the set of data numerically? how can you interpret the value of a standard deviation?
  • the range is the difference between the largest and smallest observations.
  • the deviation for an observation is its distance from the mean.
  • the square root of the average squared deviations, called the standard deviation, describes the typical distance from the mean.
  • for a Bell-shaped distribution, by the empirical rule, about 68% 95% 99.7% (all or nearly all) the data for within 1, 2, 3, standard deviations of the mean respectively. what is a Z score? what values of Z should be unusual if a distribution is Bell-shaped?
  • the Z score tell us the number of standard deviation that an observation falls from the mean. o for example, z = - 1.4. means that the observation falls 1.4 standard deviations below the mean.
  • for an approximately bell-shaped distribution since all or nearly all the observations fall within 3 standard deviation of the mean, z-scores above or below 3 would be unusual. What are the measures of position, and how do a boxplot, IQR summarize positions?
  • the percentiles are measures of position that tell us points above which or below which a certain percentage of data falls.
  • the lower quarter of observations fall below the 25th percentile, called the first quartile.
  • the upper quarter falls above the 75th percentile, called the third quartile.
  • these two Q span the middle of the data.
  • the five-number summary consists of these quartiles, the median (which is the 50th percentile and 2nd quartile) and the minimum and maximum values.
  • the boxplot portrays this five-number summary, using a box for the middle half of the data, between Q1 and Q3, while highlighting potential outliers.
  • the interquartile range (IQR) he is a measure of variability that equals the distance between Q3 and Q Difference between response and explanatory variable:
  • in practice most studies have more than one variable and explore associations between the variables. For example, do students who spend more time studying tend to have higher GPA's?
  • The statistical analysis studies how the value of a response variable (the outcome of interest such as GPA) depends on the value of an explanatory variable (such as time spent studying). What is a contingency table?
  • For categorical variables, contingency tables summarize the counts of observations at the various combinations of categories of the two variables. They can show the person tiles in the various categories for the response variable (such as yes or no for whether one believes in life after death) separately for each category of the explanatory variable (such as gender or religious affiliation).
  • Random variables can be discrete (taking separate values) or continuous (interval). What is meant by the term probability distribution?
  • A probability distribution specifies probabilities for all the possible values of a random variable.
  • The distribution is summarized by a mean and a standard deviation to describe its centre and its variability from the mean. How do you describe the normal distribution?
  • The normal distribution is the probability distribution of a continuous random variable that has a certain symmetric bell-shaped graph.
  • For any z the probability of falling within z- standard deviations of the mean is the same for every normal distribution. What is a z-score and how can you find it for a particular observed value?
  • A z-score tells us the number of standard deviations and the direction that an observation falls from the mean for a value x from a probability distribution o The score is Z = x – mean / standard deviation.
  • For the normal distribution, for example, the cumulative probability below any given values depend on how many standard deviations that value falls from the mean, so the table of probability for the normal distribution uses z-scores. What is sampling distribution?
  • Each time a poll is conducted, there will be a sample proportion that is calculated. The distribution of the sampling proportions is called a sampling distribution.
  • The sample proportions fluctuate from one poll to the next around the population proportion value, with the degree of spread around the population proportion being smaller when the sample size is larger. What good is a standard deviation?
  • The standard deviation of the sampling distribution describes how closely a sample statistic will be to the parameter it is designed to estimate, in this case how close the sample proportion will be to the unknown population proportion. What does the Central Limit theorem tell us?
  • The CLT states that for relatively large random samples, the sampling distribution of the sample mean is approximately a normal distribution.
  • The bell-shape for this sampling distribution happens no matter what the shape of the population distribution.