Write SQL query to solve given problem: What is the ratio of author with affiliation and without affiliation?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(SUM(CASE WHEN Affiliation IS NULL THEN 1 ELSE 0 END) AS REAL) / COUNT(*) FROM Author