cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
fdaf
Level I

Simulate data in Functional Data Explorer

Hi

I would like to simulate curve data using Direct Functional PCA from Functional Data Explorer.

There is a simulator within Direct Functional PCA which is great!

 

At a closer look, the simulator is simulating points (one can choose the number of points in advance) on the x axis and not separate curves. I tried different tricks to get separate curves, but with no luck.

 

Therefore, I am wondering if there is a way to fetch the JSL script code from "Make table" and modify that? In my opinion that would be the easiest as I could also specify equidistant points on x for each generated curve.

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Simulate data in Functional Data Explorer

I presume you changed the Time parameter a bit different in order to get equidistant points along X(Time). Is this correct?

I believe the 9.707 value is just the default value in the profiler (I didn't change it). Getting the equidistant points along X was accomplished in the Sequencing section (10 points between what it defaulted to).

 

@Fetching the Make Table code. Is there some script way around it?

I'm unaware of a straightforward way to do this. You might be able to accomplish something similar by using the Save Summaries feature.

Jed_Campbell_0-1702048319887.png

 

View solution in original post

3 REPLIES 3

Re: Simulate data in Functional Data Explorer

Hi @fdaf, welcome to the forum.

I may not be correctly understanding your question, so please correct me if necessary.

To create a rough version of separate curves, I did the following:

  • Used the sequencing feature in the Simulator
    • Jed_Campbell_0-1701967339365.png

       

  • Deleted duplicate rows in the Time - FPC 5 columns (most of the table)
  • Created a Checksum formula column summing FPC 1 through FPC 5, and used it as the curve label (this could be more elegant, for sure)
  • Verified separate curves via graph builder
    • Jed_Campbell_1-1701967720000.png

I attached both the original file and the output table. 

fdaf
Level I

Re: Simulate data in Functional Data Explorer

Hi Jed

 

Thank you for a comprehensive answer. It looks great. 

 

fdaf_0-1702018868305.png

 

However, when I run the Mill DOE file, I get the time as 9,707. Thus, I presume you changed the Time parameter a bit different in order to get equidistant points along X(Time). Is this correct?

 

@Fetching the Make Table code. Is there some script way around it?

 

Thank you once more.

 

Re: Simulate data in Functional Data Explorer

I presume you changed the Time parameter a bit different in order to get equidistant points along X(Time). Is this correct?

I believe the 9.707 value is just the default value in the profiler (I didn't change it). Getting the equidistant points along X was accomplished in the Sequencing section (10 points between what it defaulted to).

 

@Fetching the Make Table code. Is there some script way around it?

I'm unaware of a straightforward way to do this. You might be able to accomplish something similar by using the Save Summaries feature.

Jed_Campbell_0-1702048319887.png