I am trying to use the 'CART' module to perform Classification And Regression Tree analysis,
package cart from http://fmwww.bc.edu/RePEc/bocode/c
I am getting a "program error: matching close brace not found r(198);" error each time I try to run it.
Here I what I have tried:
I opened up the cart.ado file and hand checked that all the braces are properly closed.
I see that cart.ado is declaring version 7, and I am running Stata SE 14.2 for Mac.
So I read https://www.stata.com/support/faqs/p...stata-version/
I tried to run the cart command preceded by
version 7: cart prediction_model, fail(sk_ca) time(tptime)
and got the same error.
I also tried to update cart.ado file to declare version 14.2 for both cart.ado and carts.ado (a subroutine called by cart)
and got the same error.
Does anyone have any ideas for what I might try next?
Thanks,
Sarah
package cart from http://fmwww.bc.edu/RePEc/bocode/c
I am getting a "program error: matching close brace not found r(198);" error each time I try to run it.
Here I what I have tried:
I opened up the cart.ado file and hand checked that all the braces are properly closed.
I see that cart.ado is declaring version 7, and I am running Stata SE 14.2 for Mac.
So I read https://www.stata.com/support/faqs/p...stata-version/
I tried to run the cart command preceded by
version 7: cart prediction_model, fail(sk_ca) time(tptime)
and got the same error.
I also tried to update cart.ado file to declare version 14.2 for both cart.ado and carts.ado (a subroutine called by cart)
and got the same error.
Does anyone have any ideas for what I might try next?
Thanks,
Sarah
Comment