kapelner / bartMachine

An R-Java Bayesian Additive Regression Trees implementation
MIT License
62 stars 27 forks source link

structure in the response variable #45

Closed ntromas closed 1 year ago

ntromas commented 1 year ago

Hi,

This is probably a very naive question but I have multiple datasets from different sites that might have different properties. My response variable and my explanatory var are similar in all datasets. I wonder how it is possible to take into account the sites information. If I split by sites, I might lose some of them as they have less information than other.

Thanks!

Nico

kapelner commented 1 year ago

Maybe code "site" as a categorical variable and rbind all datasets together.

Github issues are not for basic statistics help. You should've emailed me.

On Fri, Dec 2, 2022, 09:17 ntromas @.***> wrote:

Hi,

This is probably a very naive question but I have multiple datasets from different sites that might have different properties. My response variable and my explanatory var are similar in all datasets. I wonder how it is possible to take into account the sites information. If I split by sites, I might lose some of them as they have less information than other.

Thanks!

Nico

— Reply to this email directly, view it on GitHub https://github.com/kapelner/bartMachine/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFAV6FWRIJ2ALHFQR44NADWLIHKPANCNFSM6AAAAAASSAU4GA . You are receiving this because you are subscribed to this thread.Message ID: @.***>