Import from external source [Software]
Dear Shuanghe!
You discovered an important point. Although both noncentral t and χ² are used internally in Phoenix, they are not accessible as a function in a custom transformation.
I discussed that at Pharsight’s Extranet, in e-mails with the developers, and filed two bugs at the support site. Since you succeeded in getting
I had to workaround
Bug 11571 (inaccessible distributions) will not ‘make it’ in the next release 1.3 – which is already in the final testing stage and scheduled for release end of the first quarter 2012.
My workaround was essentially your last suggestion. I generated the values in R
Pharsight is considering to internally code both EMA’s and FDA’s models in a future release (QC_PHX6269). Right now my workflow is rather lenghty (if you want I can send you the project file off-list). Time allowing I will prepare another whitepaper. Since the bug giving slightly different CIs from ABE and LME was fixed in v1.3 probably I will wait for the final release.
❝ […] I was stuck in boundy, and consequently, critbound.
❝ So my question is, how to calculate this "CINV" in Phoenix? I mean, I can get the value from SAS, or even from Excel, but that would mean I have to do it manually everytime.
❝ Is there any easy way to do it? or I have to import a table of the inverse chi-square distribution to match the dfd I got from linear mixed effect model?
You discovered an important point. Although both noncentral t and χ² are used internally in Phoenix, they are not accessible as a function in a custom transformation.

I discussed that at Pharsight’s Extranet, in e-mails with the developers, and filed two bugs at the support site. Since you succeeded in getting
boundx
you have noticed that min()
and max()
are not available as well (bug 11570). Instead of simply using (max((abs(Lower_CI)), (abs(Upper_CI))))^2
I had to workaround
if(abs(Lower_CI)>=abs(Upper_CI), (abs(Lower_CI))^2, (abs(Upper_CI))^2)
Bug 11571 (inaccessible distributions) will not ‘make it’ in the next release 1.3 – which is already in the final testing stage and scheduled for release end of the first quarter 2012.
❝ How did you do it, if I may ask?
My workaround was essentially your last suggestion. I generated the values in R
options(digits=16)
for (dfd in 1:200) {
Cinv <- qchisq(0.95, df=dfd)
cat(paste(dfd, "\t", Cinv, "\n"))
}
dfd
and Cinv
. In the Estimates
of Intermediate Dlat
I renamed Denom_DF
to dfd
, merged with the χ²-table (sort on dfd
) and filtered for empty rows (Exclude where [Dependent] is NULL Entire Row
). Another option would be a ‘Phoenix Connect’ license. Then it should be possible to obtain the value from one of the following programs: SAS, S-plus, R. I got a trial license and didn’t succeed yet – but I’m not sure whether it is really worth the efforts.Pharsight is considering to internally code both EMA’s and FDA’s models in a future release (QC_PHX6269). Right now my workflow is rather lenghty (if you want I can send you the project file off-list). Time allowing I will prepare another whitepaper. Since the bug giving slightly different CIs from ABE and LME was fixed in v1.3 probably I will wait for the final release.
—
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:
- SAS and missing values Helmut 2012-01-06 01:47 [Software]
- SAS and missing values Shuanghe 2012-01-13 11:17
- THX & another request Helmut 2012-01-13 13:31
- Congratulations for both of us :-D Shuanghe 2012-01-13 16:14
- FDA's RSABE: Phoenix ‘validated’ against SAS Helmut 2012-01-13 16:39
- How to obtain CINV value in Phoenix Shuanghe 2012-01-19 11:43
- Import from external sourceHelmut 2012-01-19 14:24
- Thanks, it's done!! Shuanghe 2012-01-19 22:42
- Thanks, it's done!! Helmut 2012-01-20 00:10
- Thanks, it's done!! Shuanghe 2012-01-19 22:42
- Import from external sourceHelmut 2012-01-19 14:24
- How to obtain CINV value in Phoenix Shuanghe 2012-01-19 11:43
- FDA's RSABE: Phoenix ‘validated’ against SAS Helmut 2012-01-13 16:39
- Congratulations for both of us :-D Shuanghe 2012-01-13 16:14
- THX & another request Helmut 2012-01-13 13:31
- SAS and missing values JMCardot 2012-01-31 03:12
- SAS and missing values Shuanghe 2012-01-13 11:17