how to save PDF of kernel density?

Hi all,
I have a project that requires me to compute a pdf of a kernel density hundreds of thousands (millions) of times and I wanted to see if I can save a kernel density pdf so that my code doesn't have to load the observations to which the kernel density is fitted. Right now the only way I know how to evaluate a kernel density pdf requires my machine to work with the vector of observations each and every time to evaluate the kernel pdf.

1 Comment

How would you expect that the kernel density should be represented ?
I think if you read the documentation on how the kernel density pdf is evaluated, there is no other way than to recalculate it at each point x for which it is called.

Sign in to comment.

Answers (0)

Tags

Asked:

on 10 Feb 2023

Commented:

on 10 Feb 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!