Package 'SupMZ'

Title: Detecting Structural Change with Heteroskedasticity
Description: Calculates the sup MZ value to detect the unknown structural break points under Heteroskedasticity as given in Ahmed et al. (2017) (<DOI: 10.1080/03610926.2016.1235200>).
Authors: Muhammad Yaseen [aut, cre] , Sami Ullah [aut, ctb], Gulfam Haider [aut, ctb]
Maintainer: Muhammad Yaseen <[email protected]>
License: GPL-2 | GPL-3
Version: 0.3.0
Built: 2025-01-30 02:36:11 UTC
Source: https://github.com/myaseen208/supmz

Help Index


Data contains Household Consumption (C) and GDP (Y) for Belgium from 1969 to 1998.

Description

data for Household Consumption (C) and GDP (Y) for Japan for years 1969 to 1998 for japan to detect the structural breaks with Heteroskedasticity.

Usage

data(Belgium)

Format

A data.frame with 30 rows and 3 variables.

Year

A tiem series from the 1969 to 1998 to find the year of structural break

C

Household Consumption

Y

Gross Domestic Production (GDP)

Author(s)

  1. Muhammad Yaseen ([email protected])

  2. Sami Ullah ([email protected])

  3. Gulfam Haider ([email protected])

Examples

data(Belgium)

Data contains Household Consumption (C) and GDP (Y) for Japan from 1978 to 2007.

Description

data for Household Consumption (C) and GDP (Y) for Japan for years 1978 to 2007 for Japan to detect the structural breaks with Heteroskedasticity.

Usage

data(Japan)

Format

A data.frame with 30 rows and 3 variables.

Year

A tiem series from the 1978 to 2007 to find the year of structural break

C

Household Consumption

Y

Gross Domestic Production (GDP)

Author(s)

  1. Muhammad Yaseen ([email protected])

  2. Sami Ullah ([email protected])

  3. Gulfam Haider ([email protected])

Examples

data(Japan)

Data contains Household Consumption (C) and GDP (Y) for Sri Lanka from 1978 to 2006.

Description

data for Household Consumption (C) and GDP (Y) for Japan for years 1978 to 2006 for Sri Lanka to detect the structural breaks with Heteroskedasticity.

Usage

data(Srilanka)

Format

A data.frame with 29 rows and 3 variables.

Year

A tiem series from the 1978 to 2006 to find the year of structural break

C

Household Consumption

Y

Gross Domestic Production (GDP)

Author(s)

  1. Muhammad Yaseen ([email protected])

  2. Sami Ullah ([email protected])

  3. Gulfam Haider ([email protected])

Examples

data(Srilanka)

Detecting Structural Change with Heteroskedasticity

Description

Calculates the sup MZ value to detect the unknown structural break points under Heteroskedasticity

Usage

supmz(formula, data, nBoot = 100)

## Default S3 method:
supmz(formula, data, nBoot = 100)

Arguments

formula

Formula for the linear model to be used. It may contain any number of independent variables.

data

Data frame containing dependent and independent variables.

nBoot

Number of bootstrap samples to compute the critical region.

Value

MZ Gives values of MZ as given by Mumtaz et.al (2017)

BreakLocation Provides the data point position where the structural break occured

SupMzValue Returns the supremum value from MZ values

SupMZ0 Returns the bootstrapped critical value for testing the significance of SupMZ

nBoot Shows the number of bootstrap samples used to compute the critical region

Author(s)

  1. Muhammad Yaseen ([email protected])

  2. Sami Ullah ([email protected])

  3. Gulfam Haider ([email protected])

References

Mumtaz Ahmed, Gulfam Haider & Asad Zaman (2017). Detecting structural change with heteroskedasticity. Communications in Statistics - Theory and Methods. 46(21):10446-10455, DOI: 10.1080/03610926.2016.1235200

Examples

data(Japan)
fm1 <- supmz(formula = C~Y, data = Japan, nBoot = 10)
fm1

data(Belgium)
fm2 <- supmz(formula = C~Y, data = Belgium, nBoot = 10)
fm2

data(Srilanka)
fm3 <- supmz(formula = C~Y, data = Srilanka, nBoot = 10)
fm3