ArticleslgStudy

mathematics

Variance function

Variance function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Variance function rather than just read about it. In short: In statistics, the variance function is a smooth function that depicts the variance of a random quantity as a function of its mean. The variance function is a measure of heteroscedasticity and plays a large role in many settings of statistical modelling.

Variance function — main illustration
Variance function — illustration

Key takeaways

  • Variance function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Variance function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Variance function from memory before moving on to harder problems.

Reference excerpt

In statistics, the variance function is a smooth function that depicts the variance of a random quantity as a function of its mean. The variance function is a measure of heteroscedasticity and plays a large role in many settings of statistical modelling. It is a main ingredient in the generalized linear model framework and a tool used in non-parametric regression, semiparametric regression and functional data analysis. In parametric modeling, variance functions take on a parametric form and explicitly describe the relationship between the variance and the mean of a random quantity. In a non-parametric setting, the variance function is assumed to be a smooth function.

Intuition In a regression model setting, the goal is to establish whether or not a relationship exists between a response variable and a set of predictor variables. Further, if a relationship does exist, the goal is then to be able to describe this relationship as best as possible. A main assumption in linear regression is constant variance or (homoscedasticity), meaning that different response variables have the same variance in their errors, at every predictor level. This assumption works well when the response variable and the predictor variable are jointly normal. As we will see later, the variance function in the Normal setting is constant; however, we must find a way to quantify heteroscedasticity (non-constant variance) in the absence of joint Normality. When it is likely that the response follows a distribution that is a member of the exponential family, a generalized linear model may be more appropriate to use, and moreover, when we wish not to force a parametric model onto our data, a non-parametric regression approach can be useful. The importance of being able to model the variance as a function of the mean lies in improved inference (in a parametric setting), and estimation of the regression function in general, for any setting. Variance functions play a very important role in parameter estimation and inference. In general, maximum likelihood estimation requires that a likelihood function be defined. This requirement then implies that one must first specify the distribution of the response variables observed. However, to define a quasi-likelihood, one need only specify a relationship between the mean and the variance of the observations to then be able to use the quasi-likelihood function for estimation. Quasi-likelihood estimation is particularly useful when there is overdispersion. Overdispersion occurs when there is more variability in the data than there should otherwise be expected according to the assumed distribution of the data. In summary, to ensure efficient inference of the regression parameters and the regression function, the heteroscedasticity must be accounted for. Variance functions quantify the relationship between the variance and the mean of the observed data and hence play a significant role in regression estimation and inference.

Types The variance function and its applications come up in many areas of statistical analysis. A very important use of this function is in the framework of generalized linear models and non-parametric regression.

Generalized linear model When a member of the exponential family has been specified, the variance function can easily be derived. The general form of the variance function is presented under the exponential family context, as well as specific forms for Normal, Bernoulli, Poisson, and Gamma. In addition, we describe the applications and use of variance functions in maximum likelihood estimation and quasi-likelihood estimation.

Derivation The generalized linear model (GLM), is a generalization of ordinary regression analysis that extends to any member of the exponential family. It is particularly useful when the response variable is categorical, binary or subject to a constraint (e.g. only positive responses make sense). A quick summary of the components of a GLM are summarized on this page, but for more details and information see the page on generalized linear models. A GLM consists of three main ingredients:

1. Random Component: a distribution of y from the exponential family, E [ y ∣ X ] = μ {\displaystyle E[y\mid X]=\mu }

2. Linear predictor: η = X B = ∑ j = 1 p X i j T B j {\displaystyle \eta =XB=\sum _{j=1}^{p}X_{ij}^{T}B_{j}}

3. Link function: η = g ( μ ) , μ = g − 1 ( η ) {\displaystyle \eta =g(\mu ),\mu =g^{-1}(\eta )}

First it is important to derive a couple key properties of the exponential family. Any random variable y {\displaystyle {\textit {y}}} in the exponential family has a probability density function of the form,

f ( y , θ , ϕ ) = exp ⁡ ( y θ − b ( θ ) ϕ − c ( y , ϕ ) ) {\displaystyle f(y,\theta ,\phi )=\exp \left({\frac {y\theta -b(\theta )}{\phi }}-c(y,\phi )\right)}

with loglikelihood,

… excerpt ends here. Continue reading the full article.

Illustrations

Variance function: The smoothed conditional variance against the smoothed conditional mean. The quadratic shape is indicative of the Gamma Distribution. The variance function of a Gamma is V(
  
    
      
        μ
      
    
    {\displaystyle \mu }
  
) = 
  
    
      
        
          μ
          
            2
          
        
      
    
    {\displaystyle \mu ^{2}}
The smoothed conditional variance against the smoothed conditional mean. The quadratic shape is indicative of the Gamma Distribution. The variance function of a Gamma is V( μ {\displaystyle \mu } ) = μ 2 {\displaystyle \mu ^{2}}

Worked examples

Example 1 — a first encounter with Variance function

Start with the simplest possible case. Write down what Variance function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Variance function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Variance function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Variance function

In research
Variance function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Variance function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Variance function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Actuarial science, Functional analysis, Generalized linear models, so understanding it makes those chapters shorter.
In everyday life
Look for Variance function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Variance function” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Variance function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Variance function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Variance function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Variance function in simple terms?

In statistics, the variance function is a smooth function that depicts the variance of a random quantity as a function of its mean. The variance function is a measure of heteroscedasticity and plays a large role in many settings of statistical modelling.

Why does Variance function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Variance function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Variance function.

Tags

  • Actuarial science
  • Functional analysis
  • Generalized linear models
  • Nonparametric regression
  • Nonparametric statistics

Keep exploring