Search results

  1. R

    Test Durbin Watson(error independence)

    If I have applied transformation, why is the result similar (dwtest = dwtest) and the graph is different?
  2. R

    Test Durbin Watson(error independence)

    Hello, I am solving an example of Design of experiments of a variable (DCA). It turns out that, on having applied logarithmic transformations, durbin watson throws a similar value, being the different graph library(lmtest) tb = data.frame("treat" = factor(x = c(rep(1:5, c(4,4,4,4,4)), labels...
  3. R

    completely random design, violate normality

    Hello A teacher told me that if the assumption of normality of errors is not met, then I would use kruskal wallis as an alternative. How would it really be?
  4. R

    completely random design, violate normality

    it's a book problem "Design and Analysis of experiments 9th edition by Montgomery " chapter 3 page 130, problem 3.32
  5. R

    completely random design, violate normality

    --------- DESIGN OF EXPERIMENTS ----- Hello I have a difficulty in the following case: normality (0.0001) constant variance independence of errors when I apply the Kolmogorov test corrected by Lilliefors (0.0001), then I reject H0 and this violates 1 test assumption. I have now been told that...
  6. R

    Confused what statistical test to use

    I did not understand, what are your study variables? Have I read and it seems that there are many or are they sub-scores?
  7. R

    how to create a portfolio using xts time series

    Hello, I have already corrected the stationary of my elements with diff, but to analyze the VaR (), CVaR (). It is necessary to create a portfolio, I have seen many packages that have left me confused. How is the procedure to create a crypto portfolio? that is I must assign all the columns of...
  8. R

    a function created does not work

    but what a silly mistake I made, thank you very much for your response but what a silly mistake I made, thank you very much for your response
  9. R

    a function created does not work

    Hello, I had created a function and I aimed to verify if it complies with certain data and if it was, then it is stored in another variable. data = c(12, 20, 11, 16, 18, 32, 22 , 8) class = function(N){} tabla1= c(1:8) for (i in length(N)){ if (data[i]<21.78){ table1[i]= data[i]...