bf.test function

I don't understand the function and how to write this function, when I use it, I get the message: Error in eval(predvars, data, env) : object 'X' not found. how to fix it

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

1 Like

bf.test performs Brown-Forsythe test.
bf.test(formula, data, alpha = 0.05, na.rm = TRUE, verbose = TRUE)

1 Like

i want to test stock price and occurrence date, i have excel data as , , however when i use command bf.test(Price ~ Date , data = da), it doesn't work and there is a message that the object cannot be found, please help me to correct it

What steps did you take to load your excel into R ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.