Hi, I'm forwarding this message on behalf of Siva.
Thanks Hana for your suggestions. We discovered a multicollinearity
problem that was hampering our ability to estimate. However, we're
still unable to get the results to output to a file. Attached is the
output we get when estimating, including the error messages. Do you
have any idea what could be wrong?
Also, it was mentioned that our problems could be due to using an old
version of UrbanSim. We're using v.4.1 that we downloaded in late
August or early September 2007. Do we need to switch to 4.1.2?
Thanks!
C:\opus\eugene\estimation>run_estimation.py
Cache Directory set to: C:/opus/threecounty/2000/flatfile
Start simulation run: started on Tue Mar 11 14:54:05 2008
random seed = 10
Starting simulation for year 2000: started on Tue Mar 11 14:54:05 2008
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Logging to file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Simulate year 2000: started on Tue Mar 11 14:54:05 2008
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): started on Tue Mar 11 14:54:05 2008
compute_probabilities ...
compute_choices ...
Number of movers: 927
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): completed...0.5 sec
Unplace 77 agents.
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): started on Tue Mar 11 14:54:06 2008
Number of agents for estimation: 6944
Sampling locations for estimation ...
Sampling done in 1 chunk(s).
Choice set size: 30
Compute variables ...
urbansim.household_x_gridcell.cost_to_income_ratio
urbansim.gridcell.total_annual_rent
urbansim.gridcell.total_residential_value........0.0 sec
urbansim.gridcell.total_annual_rent: completed.......0.1 sec
urbansim.household_x_gridcell.cost_to_income_ratio: completed...
0.1 sec
Estimate ...
submodel: -2
WARNING: Estimation led to singular matrix. No results.
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): completed...1.9 sec
Simulate year 2000: completed....................................2.6 sec
Closing log file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Starting simulation for year 2000: completed.........................2.7 sec
Start simulation run: completed..........................................2.7 sec
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Traceback (most recent call last):
File "C:\opus\eugene\estimation\run_estimation.py", line 31, in ?
estimator.estimate()
File "c:\opus\urbansim\estimation\estimator.py", line 71, in estimate
self.save_results(out_storage=out_storage)
File "c:\opus\urbansim\estimation\estimator.py", line 147, in save_results
self.specification.write(out_storage=AttributeCache(),out_table_name=specifi
cation_table)
File "c:\opus\opus_core\equation_specification.py", line 152, in write
self.out_storage.write_dataset(local_resources)
File "c:\opus\opus_core\store\old\attribute_cache.py", line 62, in write_datas
et
attrtype = write_resources['attrtype']
File "c:\opus\opus_core\resources.py", line 30, in __getitem__
return SessionConfiguration().get_dataset_from_pool(key)
File "c:\opus\opus_core\session_configuration.py", line 113, in get_dataset_fr
om_pool
return self.get_dataset_pool().get_dataset(dataset_name)
File "c:\opus\opus_core\dataset_pool.py", line 56, in get_dataset
self._load_new_dataset(dataset_name, dataset_arguments)
File "c:\opus\opus_core\dataset_pool.py", line 129, in _load_new_dataset
raise Exception("Dataset '%s' not found in any of the "
Exception: Dataset 'attrtype' not found in any of the packages: 'urbansim', 'opu
s_core'.
C:\opus\eugene\estimation>run_estimation.py
Cache Directory set to: C:/opus/threecounty/2000/flatfile
Start simulation run: started on Tue Mar 11 14:55:17 2008
random seed = 10
Starting simulation for year 2000: started on Tue Mar 11 14:55:17 2008
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Logging to file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Simulate year 2000: started on Tue Mar 11 14:55:17 2008
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): started on Tue Mar 11 14:55:17 2008
compute_probabilities ...
compute_choices ...
Number of movers: 927
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): completed...0.5 sec
Unplace 77 agents.
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): started on Tue Mar 11 14:55:17 2008
Number of agents for estimation: 6944
Sampling locations for estimation ...
Sampling done in 1 chunk(s).
Choice set size: 30
Compute variables ...
urbansim.gridcell.is_near_arterial.......................0.0 sec
Estimate ...
submodel: -2
Convergence achieved.
Number of Iterations: 3
***********************************************
Log-likelihood is: -23617.1831937
Null Log-likelihood is: -23617.9146183
Likelihood ratio index: 3.09690591593e-005
Adj. likelihood ratio index: -1.13716815946e-005
Number of observations: 6944
Suggested |t-value| > 2.97416093316
Convergence statistic is: 4.3778380364e-006
-----------------------------------------------
Coeff_names estimate std err t-values
is_near_arterial 0.233687 0.186413 1.2536
***********************************************
Elapsed time: 0.184971678608 seconds
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): completed...2.0 sec
Simulate year 2000: completed....................................2.7 sec
Closing log file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Starting simulation for year 2000: completed.........................2.7 sec
Start simulation run: completed..........................................2.7 sec
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Traceback (most recent call last):
File "C:\opus\eugene\estimation\run_estimation.py", line 31, in ?
estimator.estimate()
File "c:\opus\urbansim\estimation\estimator.py", line 71, in estimate
self.save_results(out_storage=out_storage)
File "c:\opus\urbansim\estimation\estimator.py", line 147, in save_results
self.specification.write(out_storage=AttributeCache(),out_table_name=specifi
cation_table)
File "c:\opus\opus_core\equation_specification.py", line 152, in write
self.out_storage.write_dataset(local_resources)
File "c:\opus\opus_core\store\old\attribute_cache.py", line 62, in write_datas
et
attrtype = write_resources['attrtype']
File "c:\opus\opus_core\resources.py", line 30, in __getitem__
return SessionConfiguration().get_dataset_from_pool(key)
File "c:\opus\opus_core\session_configuration.py", line 113, in get_dataset_fr
om_pool
return self.get_dataset_pool().get_dataset(dataset_name)
File "c:\opus\opus_core\dataset_pool.py", line 56, in get_dataset
self._load_new_dataset(dataset_name, dataset_arguments)
File "c:\opus\opus_core\dataset_pool.py", line 129, in _load_new_dataset
raise Exception("Dataset '%s' not found in any of the "
Exception: Dataset 'attrtype' not found in any of the packages: 'urbansim', 'opu
s_core'.
C:\opus\eugene\estimation>run_estimation.py
Cache Directory set to: C:/opus/threecounty/2000/flatfile
Start simulation run: started on Tue Mar 11 14:56:43 2008
random seed = 10
Starting simulation for year 2000: started on Tue Mar 11 14:56:43 2008
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Logging to file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Simulate year 2000: started on Tue Mar 11 14:56:43 2008
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): started on Tue Mar 11 14:56:43 2008
compute_probabilities ...
compute_choices ...
Number of movers: 927
Running Household Relocation Model (from urbansim.models.agent_reloc
ation_model): completed...0.5 sec
Unplace 77 agents.
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): started on Tue Mar 11 14:56:43 2008
Number of agents for estimation: 6944
Sampling locations for estimation ...
Sampling done in 1 chunk(s).
Choice set size: 30
Compute variables ...
urbansim.gridcell.is_near_arterial.......................0.0 sec
urbansim.gridcell.travel_time_to_CBD.....................0.2 sec
Estimate ...
submodel: -2
Convergence achieved.
Number of Iterations: 3
***********************************************
Log-likelihood is: -23616.4806108
Null Log-likelihood is: -23617.9146183
Likelihood ratio index: 6.07169374867e-005
Adj. likelihood ratio index: -2.39645440212e-005
Number of observations: 6944
Suggested |t-value| > 2.97416093316
Convergence statistic is: 6.07300521687e-006
-----------------------------------------------
Coeff_names estimate std err t-values
is_near_arterial 0.223864 0.186654 1.19935
travel_time_to_CBD -0.00149646 0.00126 -1.18767
***********************************************
Elapsed time: 0.289861407875 seconds
Estimating Household Location Choice Model (from urbansim.models.hou
sehold_location_choice_model): completed...2.3 sec
Simulate year 2000: completed....................................3.0 sec
Closing log file: C:/opus/threecounty/2000/flatfile\year_2000_log.txt
Starting simulation for year 2000: completed.........................3.0 sec
Start simulation run: completed..........................................3.0 sec
Closing log file: C:/opus/threecounty/2000/flatfile\run_multiprocess.log
Traceback (most recent call last):
File "C:\opus\eugene\estimation\run_estimation.py", line 31, in ?
estimator.estimate()
File "c:\opus\urbansim\estimation\estimator.py", line 71, in estimate
self.save_results(out_storage=out_storage)
File "c:\opus\urbansim\estimation\estimator.py", line 147, in save_results
self.specification.write(out_storage=AttributeCache(),out_table_name=specifi
cation_table)
File "c:\opus\opus_core\equation_specification.py", line 152, in write
self.out_storage.write_dataset(local_resources)
File "c:\opus\opus_core\store\old\attribute_cache.py", line 62, in write_datas
et
attrtype = write_resources['attrtype']
File "c:\opus\opus_core\resources.py", line 30, in __getitem__
return SessionConfiguration().get_dataset_from_pool(key)
File "c:\opus\opus_core\session_configuration.py", line 113, in get_dataset_fr
om_pool
return self.get_dataset_pool().get_dataset(dataset_name)
File "c:\opus\opus_core\dataset_pool.py", line 56, in get_dataset
self._load_new_dataset(dataset_name, dataset_arguments)
File "c:\opus\opus_core\dataset_pool.py", line 129, in _load_new_dataset
raise Exception("Dataset '%s' not found in any of the "
Exception: Dataset 'attrtype' not found in any of the packages: 'urbansim', 'opu
s_core'.
Received on Tue Mar 11 2008 - 16:02:51 PDT
This archive was generated by hypermail 2.2.0 : Tue Mar 11 2008 - 16:02:52 PDT