dbarts icon indicating copy to clipboard operation
dbarts copied to clipboard

BART with panel data?

Open ignacio82 opened this issue 5 years ago • 4 comments

I recently came across this paper that talks about how well BART performs with panel data. I always thought of BART as a cross sectional method. Am I wrong?. I was wondering if dbarts can be used with panel data. If so, do you have an example?

ignacio82 avatar Aug 11 '20 16:08 ignacio82

Hi Ignacio. Sorry for the slow response, but this semester has been quite busy.

You can use base BART for panel data, however it probably makes more sense to impose some sort of structure over the model over the exchangeable units. Although experimental, stan4bart would allow you to explicitly set some parametric forms how subjects vary. Or you could use it with splines for the temporal component but allow individual level predictors to contribute nonparametrically. I'm not saying base-BART should be bad with panel data, but I would expect that are more directed solution might outperform it. Modified versions of BART should do just fine.

vdorie avatar Oct 10 '20 13:10 vdorie

@vdorie, I was wondering if there have been any updates in modeling longitudinal data with BART models? Is stan4bart still the best option here?

Background: I'm in the early stages of a project that will have 3-5ish years of data. It's a research grant from a federal/state organization so it's still unclear how many years we'll get and how useable it will be. We're trying to figure out how a standard BART specification might change if we add a few years of data to look at change in our outcome either over time between years or from the base (starting) year.

kaseyzapatka avatar Jan 26 '24 20:01 kaseyzapatka

There could well be another BART solution out there - unfortunately I’m out of academia and don’t have the time to follow other developments. But you can certainly use stan4bart for this like you would any longitudinal data (e.g. https://lme4.r-forge.r-project.org/slides/2011-03-16-Amsterdam/2Longitudinal.pdf) with BART handling non-linearities.

On Fri, Jan 26, 2024 at 3:24 PM Kasey Zapatka @.***> wrote:

@vdorie https://github.com/vdorie, I was wondering if there have been any updates in modeling longitudinal data with BART models? Is stan4bart still the best option here?

Background: I'm in the early stages of a project that will have 3-5ish years of data. It's a research grant from a federal/state organization so it's still unclear how many years we'll get and how useable it will be. We're trying to figure out how a standard BART specification might change if we add a few years of data to look at change in our outcome either over time between years or from the base (starting) year.

— Reply to this email directly, view it on GitHub https://github.com/vdorie/dbarts/issues/33#issuecomment-1912650475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5P4FK4RQDOT5XHDT7UL3YQQGGNAVCNFSM4P3HMH32U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJRGI3DKMBUG42Q . You are receiving this because you were mentioned.Message ID: @.***>

vdorie avatar Feb 08 '24 16:02 vdorie

https://github.com/google/longbet might be of interest.

ignacio82 avatar Feb 08 '24 18:02 ignacio82