Displaying 2 results from an estimated 2 matches for "wyw".
Did you mean:
www
2012 Jul 17
24
Static Pages from Railcast
...ntlink]
@page = Page.find_by_permanentlink(params[:permanentlink])
else
@page = Page.find(params[:id])
end
respond_to do |format|
format.html # show.html.erb
format.json { render json: @page }
end
end
The error
NoMethodError in Pages#show
Showing /home/jean/rail/wyw/app/views/pages/show.html.erb where line #3
raised:
undefined method `title'' for nil:NilClass
Extracted source (around line #3):
1: <p id="notice"><%= notice %></p>
2: <p>
3: <%= @page.title %>
4: </p>
5:
6: <p>
Rails.root: /home/jean...
2010 Jul 20
0
Maximum likelihood estimation in R
...24]
pd<-theta[25]
po<-theta[26]
pw<-theta[27]
E1<- Y-alpha[1]*l%*%t(l)-X%*%betad1%*%t(l)-l%*%t(betao1)%*%t(X)-gamma[1]*G
E2<- WY-alpha[2]*l%*%t(l)-X%*%betad2%*%t(l)-l%*%t(betao2)%*%t(X)-gamma[2]*G
E3<- YW-alpha[3]*l%*%t(l)-X%*%betad3%*%t(l)-l%*%t(betao3)%*%t(X)-gamma[3]*G
E4<-WYW-alpha[4]*l%*%t(l)-X%*%betad4%*%t(l)-l%*%t(betao4)%*%t(X)-gamma[4]*G
Q<-matrix(0,4,4)
Q[1,1]<-sum(E1*t(E1))
Q[1,2]<-sum(E1*t(E2))
Q[1,3]<-sum(E1*t(E3))
Q[1,4]<-sum(E1*t(E4))
Q[2,1]<-sum(E2*t(E1))
Q[2,2]<-sum(E2*t(E2))
Q[2,3]<-sum(E2*t(E3))
Q[2,4]<-sum(E2*t(E4))
Q[3,1]<...