engcom.data

Module that generates data sets

Module Contents

Functions

step_response([time, ntime, maxtime, noisy, ...])

Returns simulated step response data through time

policy_adoption()

Returns predicted probability data for policy adoption

ideal_gas([V, T, n, R, noisy])

Returns ideal gas law data (Pressure vs Volume and Pressure)

movie_ratings_binned()

The author's movie rating frequencies for 89 movies,

thermal_conductivity([category, paired])

Thermal conductivity in W/(m K) at 293 K and 100 kPa

engcom.data.step_response(time=None, ntime=101, maxtime=10, noisy=True, system_order=2, damping_ratio=0.5, natural_freq=1, time_constant=1)

Returns simulated step response data through time

engcom.data.policy_adoption()

Returns predicted probability data for policy adoption vs percent of group in favor of policy. Groups: average citizens and economic elites

From Martin Gilens and Benjamin I. Page article Testing Theories of American Politics: Elites, Interest Groups, and Average Citizens http://dx.doi.org/10.1017/S1537592714001595 Values read visually from Figure 1

engcom.data.ideal_gas(V=None, T=None, n=1, R=8.3145, noisy=True)

Returns ideal gas law data (Pressure vs Volume and Pressure)

engcom.data.movie_ratings_binned()

The author’s movie rating frequencies for 89 movies, in 10 bins of size 1 from 0-10

engcom.data.thermal_conductivity(category=None, paired=True)

Thermal conductivity in W/(m K) at 293 K and 100 kPa

Source: Carvill, James. 1994. Mechanical Engineer’s Data Handbook. 11th edition.