oven won't light

The oven on my magic chef will not light. I replaced the ignitor and this did not help. I’ve concluded that either the gas valve or the thermostat is the problem. Is this a logical conclusion or could there be additional reasons for this problem? Please advise
Thanks Stan