% usefile C:\monographregression\computercode\prg\bayesx\patent_mixedmodels.txt % Create a dataset object and read the data dataset d d.infile using C:\monographregression\computercode\data\bayesx\patent.raw % Create a regression object bayesreg b % Define the path where to save the results b.outfile = C:\monographregression\computercode\results\bayesx\patent_mixed % Set a new delimiter delimiter = ; % Poisson-normal model b.regress ncit = yearc + ncountryc + nclaimsc + biopharm + ustwin + patus + patgsgr + opp + subject(random), setseed=12345 family=poisson iterations=105000 step=100 burnin=5000 using d;