1
Hello I have to follow a determination of the DRC 166/2017 of Anvisa and one of the things it asks for is the comparison of two straight lines through the slope, intercept and coincidence calculation. Of the three calculations I could only do the one of coincidence, according to the shown below:
Comp=read.csv(file="C:/Users/porti/OneDrive/Script/efeito_matriz.csv",sep=";")
Comp
X1<-(Comp$"ï..X1")
X1
Y1<-(Comp$"Y1")
Y1
X2<-(Comp$"X2")
X2
Y2<-(Comp$"Y2")
Y2
x = c(X1, X2)
y = c(Y1, Y2)
z = factor(c(rep(1, length(X1)), rep(2, length(X2))))
z
C1 = lm(y~x*z)
C2 = lm(y~x)
anova(C1, C2)
Does anyone have any idea how I compare the intercept and the inclination of these two curves?
Difficult, without data and at least its nature. Can update with part of the data or the
summary(x)
andsummary(y)
?– Robert