Phoenix: residuals [General Statistics]
Hi Lucas,
in the following a setup for PHX6.3+ (Clayton/Leslie’s data given in Chow/Liu’s table 6.9.1; validated against table 8.2.3); sequences coded as TR|RT. It seems complicated first, but works also for unbalanced sequences. This is not PHX’ standard model, but all effects fixed (like for EMA and in SAS Proc GLM). You have to code it only once and can use it as a template in other studies.
![[image]](img/uploaded/image227.png)
![[image]](img/uploaded/image229.png)
![[image]](img/uploaded/image230.png)
In Phoenix Pre-Release V1.4 (Build 6.4.0.511, 2013-12-20) still no overlays in box plots and histograms.
Maybe I will post some R-code later.
Eidt: I have to correct myself: In Phoenix (all versions) these are standardized (sometimes call internally studentized) residuals, not studentized (externally studentized) residuals.
in the following a setup for PHX6.3+ (Clayton/Leslie’s data given in Chow/Liu’s table 6.9.1; validated against table 8.2.3); sequences coded as TR|RT. It seems complicated first, but works also for unbalanced sequences. This is not PHX’ standard model, but all effects fixed (like for EMA and in SAS Proc GLM). You have to code it only once and can use it as a template in other studies.
- Setup the BE wizard for ln-transformed data.
Fixed effects: subject+period+treatment+sequence+subject(sequence)
,
deleteRandom1: subject(sequence)
- Execute and navigate to
Output Data
>Residuals
>Send To
>Data
>Data Wizard
>Add Filter
Exclude
everything exceptDependent
,Subject
,Predicted
,Residual
(i.e., keep them mapped toNone
)
Built In
>Add
>Action: Include
|Find: RT
|Search Area Column: Sequence
>OK
Built In
>Add
>Action: Include
|Find: 1
|Search Area Column: Period
>OK
- Execute and rename to
RT Filter
Final Results
>Result
>Send To
>Data
>Split Worksheet
- Map
Sequence
toSort
- ☐
Create unique values worksheets
(uncheck the box!) - Execute and rename to
RT Count
- Map
- Navigate back to
Bioequivalence
>Output Data
>Final Variance Parameters
>Send To
>Data
>Join Worksheets
- Map
Dependent
toSort
,Estimate
toSource Column
, leaveParameter
mapped toNone
- Map
Worksheet 2
>RT Filter.Result
- Map
Dependent
toSort
and all variables toSource Column
- Execute and rename to
RT MS intra
- Map
Final Results
>Result
>Send To
>Data
>Join Worksheets
- Map
Sequence
toSort
and all other variables toSource Column
- Map
Worksheet 2
>RT Count.Result
- Map
Sequence
toSort
andCount
toSource Column
- Execute and rename to
RT data
- Map
Final Results
>Result
>Send To
>Data
>Data Wizard
>Add Transformation
Transformation Type: Custom
|Transformation: Custom Function
|New Column Name: StudResIntra
|
Formula: Residual/sqrt(Estimate*(Count-1)/(2*Count))
Add Filter
>Exclude
Residual
,Estimate
,Count
- Execute and rename to
RT Stud Res intra
- Repeat steps #2 – #6 for sequence TR. You should end up with
TR Filter
,TR Count
,TR MS intra
,TR data
,TR Stud Res intra
.
- Navigate back to
RT Stud Res intra
>Final Results
>Result
>Send To
>Data
>Append Worksheets
- Map all variables to
Source Column
- Map
Worksheet 2
>TR Stud Res intra.Result
- Map all variables to
Source Column
- Execute and rename to
Stud Res intra
- Map all variables to
![[image]](img/uploaded/image226.png)
![[image]](img/uploaded/image227.png)
![[image]](img/uploaded/image228.png)
![[image]](img/uploaded/image229.png)
![[image]](img/uploaded/image230.png)
In Phoenix Pre-Release V1.4 (Build 6.4.0.511, 2013-12-20) still no overlays in box plots and histograms.

Eidt: I have to correct myself: In Phoenix (all versions) these are standardized (sometimes call internally studentized) residuals, not studentized (externally studentized) residuals.
—
Dif-tor heh smusma 🖖🏼 Довге життя Україна!![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-19 14:27 [General Statistics]
- Qualitative analysis of the ANOVA residuals Helmut 2014-02-19 15:22
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-19 15:58
- Qualitative analysis of the ANOVA residuals Helmut 2014-02-19 16:25
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-19 17:20
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-20 19:07
- First hints for Phoenix Helmut 2014-02-20 20:11
- Phoenix: residualsHelmut 2014-02-21 19:25
- Phoenix: residuals BRN 2014-03-04 15:15
- Phoenix: residuals Helmut 2014-03-04 16:52
- Phoenix: residuals Rosy 2018-10-15 07:03
- Software validation Helmut 2018-10-15 11:43
- Software validation Rosy 2018-10-18 00:38
- Avoid raw residuals Helmut 2018-10-18 17:14
- Avoid raw residuals Rosy 2018-10-18 18:05
- Avoid raw residuals Helmut 2018-10-18 17:14
- Software validation Rosy 2018-10-18 00:38
- Software validation Helmut 2018-10-15 11:43
- Phoenix: residuals BRN 2014-03-04 15:15
- Phoenix → R Helmut 2014-02-23 02:20
- Phoenix → R Lucas 2014-02-25 19:28
- Qualitative analysis of the ANOVA residuals Helmut 2014-02-19 16:25
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-19 15:58
- Qualitative analysis of the ANOVA residuals ElMaestro 2014-02-19 15:32
- Qualitative analysis of the ANOVA residuals Helmut 2014-02-19 16:06
- Qualitative analysis of the ANOVA residuals Lucas 2014-02-19 16:13
- Qualitative analysis of the ANOVA residuals ElMaestro 2014-02-19 20:40
- Qualitative analysis of the ANOVA residuals Helmut 2014-02-19 15:22