Non-linear regression and seemingly unrelated regression A \ Prof. - - PowerPoint PPT Presentation

non linear regression and seemingly unrelated regression
SMART_READER_LITE
LIVE PREVIEW

Non-linear regression and seemingly unrelated regression A \ Prof. - - PowerPoint PPT Presentation

Non-linear regression and seemingly unrelated regression A \ Prof. Steve Quinn Department of Statistics, Data Science and Epidemiology, Swinburne University of Technology, Melbourne, Australia sjquinn@swin.edu.au Two part analysis The


slide-1
SLIDE 1

Non-linear regression and seemingly unrelated regression

A \ Prof. Steve Quinn

Department of Statistics, Data Science and Epidemiology, Swinburne University of Technology, Melbourne, Australia sjquinn@swin.edu.au

slide-2
SLIDE 2

Two part analysis

  • The problem
  • Trying to identify autism
  • believe that ocular response to a flash at different

frequencies is different in autistic vs normal children

  • Want to identify the best flash frequency

2

slide-3
SLIDE 3
  • They know what the data will look like (roughly)

Mixed model and Non-linear regression

3

slide-4
SLIDE 4
  • They also know what the wave is made up of a normal density

curve and a logistic curve (a cumulative distribution function)

Non-linear regression

4

slide-5
SLIDE 5
  • There is a theoretical framework for this decomposition
  • “On-response amplitude” (b-waves) follows the logistic growth

function

  • “Off-response amplitude” (d-waves) follows Gaussian density

function

Non-linear regression

5

slide-6
SLIDE 6

Mixed model analysis

  • The data – two groups – each person contributes 9 observations

6

slide-7
SLIDE 7

Mixed model analysis

7

slide-8
SLIDE 8

Mixed model analysis

8

slide-9
SLIDE 9

Mixed model analysis

9

slide-10
SLIDE 10

Mixed model analysis

The authors ended up wanting this picture:

10

slide-11
SLIDE 11

Non-linear regression

  • The authors wanted to estimate:

11

slide-12
SLIDE 12
  • The data – one group

Non-linear regression first attempt

12

slide-13
SLIDE 13

Non-linear regression – first attempt

Wrong starting values:

13

slide-14
SLIDE 14

Non-linear regression – SigmaPlot - $1250

14

slide-15
SLIDE 15

Non-linear regression – Stata

15

slide-16
SLIDE 16

Both groups, one analysis - nlsur

16

Zellner, A. An efficient method of estimating seemingly… American Statistician Journal, 1962

slide-17
SLIDE 17

17

This example

slide-18
SLIDE 18

Both groups, one analysis - nlsur

18

slide-19
SLIDE 19

Both groups, one analysis - nlsur

19

slide-20
SLIDE 20

20

Robust standard errors

nlsur ….., vce(robust)

slide-21
SLIDE 21

Both groups, one analysis - nlsur

21

slide-22
SLIDE 22

22

Provides joint estimates from several regression models Estimates are more efficient

  • accounts for correlated errors
  • Greater correlation increases errors
  • Multicollinearity between independent variables

increases efficiency

  • SE’s are smaller

Seemingly unrelated regression

slide-23
SLIDE 23

23

Seemingly unrelated regression – rarely used

  • Chen. C, et.al. Altered metabolite levels and

correlations… (Metabolomics) 2017. n = 158, 113 response variables, 15 covariates SUR doesn’t account for multiple comparisons. (Benjamini-Hochberg false discovery algorithm)

slide-24
SLIDE 24

24

Outcomes don’t need to be the same in kind

Xuecai, Xu, et.al. Accident severity and traffic signs… (Accident analysis and prevention) 2018.

slide-25
SLIDE 25

25

This example

slide-26
SLIDE 26

26

Joint model – nlsur Separate model – nl

This example

slide-27
SLIDE 27

Questions or comment?

27

slide-28
SLIDE 28

28

clustered standard errors

slide-29
SLIDE 29

Seemingly unrelated non-linear regression

The code:

29

slide-30
SLIDE 30

Seemingly unrelated regression

30

slide-31
SLIDE 31

Mixed model analysis

How do you model this curve?

31

slide-32
SLIDE 32

Mixed model analysis

Every function can be modelled as accurately as required by a polynomial curve. Why did I know to stop at freq4? – can run the model with freq up to the 5th power and do a LR test – can run the model with freq up to the 5th power and check the highest terms – they will be non-significant .

32

slide-33
SLIDE 33

The output:

Seemingly unrelated non-linear regression

33

slide-34
SLIDE 34

Seemingly unrelated non-linear regression

The code:

34

slide-35
SLIDE 35

Comparing the estimates:

Seemingly unrelated non-linear regression

35