rafael-guerra-www / LinearFitXYerrors.jl

Linear Regression with errors in both X and Y, correlated or not, confidence intervals and plots.
MIT License
16 stars 0 forks source link

Kills Kernel #8

Open bdmiller42 opened 3 years ago

bdmiller42 commented 3 years ago

Hi, I'm using this package to display regression error. When I call linearfitxy(x,y; plot=true) it spits out the errors and the Pearson coefficient but then it kills my jupyter kernel and I have to restart.

rafael-guerra-www commented 3 years ago

Hello. Just in case, note that the syntax uses keyword isplot: linearfitxy(x,y; isplot=true)

Not an user myself of notebooks but checked on Jupyter extension to VS Code on Win10 the attached example and it worked fine:

LinearFitXYerrors_ipynb_Jupyter_notebooks

bdmiller42 commented 3 years ago

I was using isplot and the appropriate colon. I am using close to 4000 rows though. So maybe this is the issue?

Ben

On Mon, Oct 11, 2021 at 3:41 PM Rafael Guerra @.***> wrote:

Hello. Just in case, note that the syntax uses keyword isplot: linearfitxy(x,y; isplot=true)

Not an user myself of notebooks but checked on Jupyter extension to VS Code on Win10 the attached example worked fine: [image: LinearFitXYerrors_ipynb_Jupyter_notebooks] https://user-images.githubusercontent.com/20739393/136846915-1260769d-81d9-43cc-a320-4a4e7c88b445.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafael-guerra-www/LinearFitXYerrors.jl/issues/8#issuecomment-940391147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNBWI727AYZRYNZPCEU6GTUGM4WPANCNFSM5FYYCRVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rafael-guerra-www commented 3 years ago

Uhm. The example above works fine also for 4000 points:

x = 1:4000
y = 2*x + rand(4000)

Could you post a minimum (non) working example (MWE)?